From 12a1a14527b00d4c7af23248c6b65b0fb6bb74b4 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 7 Jul 2014 07:48:40 -0700 Subject: [PATCH] Fix tests in old IE. --- test/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.html b/test/index.html index 582a5a34d..2156c9973 100644 --- a/test/index.html +++ b/test/index.html @@ -106,7 +106,7 @@ document.createDocumentFragment = function() {}; setProperty(window, '_Float64Array', window.Float64Array); - if (!_Float64Array) { + if (!window._Float64Array) { setProperty(window, 'Float64Array', window.Uint8Array); } setProperty(window, 'global', window); @@ -149,7 +149,7 @@ } else { delete String.prototype.contains; } - if (!_Float64Array) { + if (!window._Float64Array) { setProperty(window, 'Float64Array', undefined); } setProperty(Function.prototype, 'toString', Function.prototype._toString);