mip-sandbox
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -337,7 +337,7 @@ /** | ||
getter: function () { | ||
return function (nodename) { | ||
return function (nodename, options) { | ||
if (typeof nodename === 'string' && nodename.toLowerCase() === 'script') { | ||
console.error('[MIP] 禁止创建 SCRIPT 标签引入第三方 JS 脚本') | ||
} | ||
return document.createElement(nodename) | ||
return document.createElement(nodename, options) | ||
} | ||
@@ -344,0 +344,0 @@ } |
{ | ||
"name": "mip-sandbox", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "sandbox tools for MIP project", | ||
@@ -5,0 +5,0 @@ "main": "lib/sandbox.js", |
232156