From 10721ad0562edbea3900b0c151563cf92ab8334c Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Thu, 14 Nov 2013 17:06:39 -0800 Subject: [PATCH] Fix tests on FF. --- src/HTMLImports.js | 3 --- test/html/imports/script-1.html | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/HTMLImports.js b/src/HTMLImports.js index ad4d459..7b8268c 100644 --- a/src/HTMLImports.js +++ b/src/HTMLImports.js @@ -446,9 +446,6 @@ Object.defineProperty(document, '_currentScript', { get: function() { return HTMLImports.currentScript || document.currentScript; }, - set: function(script) { - HTMLImports.currentScript = script; - }, writeable: true, configurable: true }); diff --git a/test/html/imports/script-1.html b/test/html/imports/script-1.html index 3a3ebc2..2bbb936 100644 --- a/test/html/imports/script-1.html +++ b/test/html/imports/script-1.html @@ -1,5 +1,5 @@
me
\ No newline at end of file