UNPKG

jquery

Version:

JavaScript library for DOM operations

15 lines (11 loc) 276 B
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; } );