Remove window.jQuery (#878)

This commit is contained in:
Steve Faulkner 2021-06-09 14:03:42 -07:00 committed by GitHub
parent bcc9f8dd32
commit c632342a43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 9 deletions

View File

@ -1,9 +1,7 @@
import * as GraphUtil from "./GraphUtil";
import { GraphData, GremlinVertex, GremlinEdge } from "./GraphData";
import * as sinon from "sinon";
import { GraphData, GremlinEdge, GremlinVertex } from "./GraphData";
import { GraphExplorer } from "./GraphExplorer";
window.$ = window.jQuery = require("jquery");
import * as GraphUtil from "./GraphUtil";
const OUT_E_MATCHER = "g\\.V\\(.*\\).outE\\(\\).*\\.as\\('e'\\).inV\\(\\)\\.as\\('v'\\)\\.select\\('e', *'v'\\)";
const IN_E_MATCHER = "g\\.V\\(.*\\).inE\\(\\).*\\.as\\('e'\\).outV\\(\\)\\.as\\('v'\\)\\.select\\('e', *'v'\\)";

5
src/global.d.ts vendored
View File

@ -13,11 +13,6 @@ declare global {
* No new usage of jQuery ($)
* */
$: any;
/**
* @deprecated
* No new usage of jQuery
* */
jQuery: any;
gitSha: string;
}
}