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