diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-02-20 11:42:19 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-02-19 21:42:19 -0500 |
commit | c4e37285758ff4cc5d388db2d880ed91decb3d29 (patch) | |
tree | 0c4f813da45a6407359ea739d0cd9b06af138d8e /js/mixins/dom_iterable.ts | |
parent | a5720d9e28f7ee5868049504816405392c2821d7 (diff) |
remove global_eval.ts (#1813)
Diffstat (limited to 'js/mixins/dom_iterable.ts')
-rw-r--r-- | js/mixins/dom_iterable.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/js/mixins/dom_iterable.ts b/js/mixins/dom_iterable.ts index e2fcd2dbd..ae5a030ce 100644 --- a/js/mixins/dom_iterable.ts +++ b/js/mixins/dom_iterable.ts @@ -1,12 +1,8 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { DomIterable } from "../dom_types"; -import { globalEval } from "../global_eval"; +import { window } from "../window"; import { requiredArguments } from "../util"; -// if we import it directly from "globals" it will break the unit tests so we -// have to grab a reference to the global scope a different way -const window = globalEval("this"); - // tslint:disable:no-any type Constructor<T = {}> = new (...args: any[]) => T; |