From c4e37285758ff4cc5d388db2d880ed91decb3d29 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Wed, 20 Feb 2019 11:42:19 +0900 Subject: remove global_eval.ts (#1813) --- js/mixins/dom_iterable.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'js/mixins') 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 = new (...args: any[]) => T; -- cgit v1.2.3