update confirm
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
define( [
|
||||
"../var/document"
|
||||
], function( document ) {
|
||||
function DOMEval( code, doc ) {
|
||||
doc = doc || document;
|
||||
|
||||
var script = doc.createElement( "script" );
|
||||
|
||||
script.text = code;
|
||||
doc.head.appendChild( script ).parentNode.removeChild( script );
|
||||
}
|
||||
|
||||
return DOMEval;
|
||||
} );
|
||||
Reference in New Issue
Block a user