From c632342a433a7777eeee4aaa1cf1ec63cd6e42b8 Mon Sep 17 00:00:00 2001 From: Steve Faulkner Date: Wed, 9 Jun 2021 14:03:42 -0700 Subject: [PATCH] Remove window.jQuery (#878) --- src/Explorer/Graph/GraphExplorerComponent/GraphUtil.test.ts | 6 ++---- src/global.d.ts | 5 ----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Explorer/Graph/GraphExplorerComponent/GraphUtil.test.ts b/src/Explorer/Graph/GraphExplorerComponent/GraphUtil.test.ts index 754f6217c..b661880a7 100644 --- a/src/Explorer/Graph/GraphExplorerComponent/GraphUtil.test.ts +++ b/src/Explorer/Graph/GraphExplorerComponent/GraphUtil.test.ts @@ -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'\\)"; diff --git a/src/global.d.ts b/src/global.d.ts index 301c9209b..e54479c04 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -13,11 +13,6 @@ declare global { * No new usage of jQuery ($) * */ $: any; - /** - * @deprecated - * No new usage of jQuery - * */ - jQuery: any; gitSha: string; } }