diff options
author | bobzel <zzzman@gmail.com> | 2022-03-07 12:14:39 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-03-07 12:14:39 -0500 |
commit | c21919a2105bd1ed4f060be149624d064739a36c (patch) | |
tree | e88bbc4db244a08bd759e2985a31593a4b521911 /src/client/views/nodes/WebBox.tsx | |
parent | 7fa30c3edd851cc42cb68063d9dbdd7335fe7370 (diff) |
got rid of include cycles for Scripting globals to make hot updates work better.
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index bace469f7..563cc462a 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -16,7 +16,7 @@ import { emptyFunction, getWordAtPoint, OmitKeys, returnFalse, returnOne, setupM import { Docs } from "../../documents/Documents"; import { CurrentUserUtils } from "../../util/CurrentUserUtils"; import { KeyCodes } from "../../util/KeyCodes"; -import { Scripting } from "../../util/Scripting"; +import { ScriptingGlobals } from "../../util/ScriptingGlobals"; import { SnappingManager } from "../../util/SnappingManager"; import { undoBatch } from "../../util/UndoManager"; import { MarqueeOptionsMenu } from "../collections/collectionFreeForm"; @@ -769,4 +769,4 @@ export class WebBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps </div>); } } -Scripting.addGlobal(function urlHash(url: string) { return WebBox.urlHash(url); });
\ No newline at end of file +ScriptingGlobals.add(function urlHash(url: string) { return WebBox.urlHash(url); });
\ No newline at end of file |