Blame view

app/bower_components/jquery/src/core/DOMEval.js 292 Bytes
4c897d181   Truong LD   remove dist + bow...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  define( [
  	"../var/document"
  ], function( document ) {
  	"use strict";
  
  	function DOMEval( code, doc ) {
  		doc = doc || document;
  
  		var script = doc.createElement( "script" );
  
  		script.text = code;
  		doc.head.appendChild( script ).parentNode.removeChild( script );
  	}
  
  	return DOMEval;
  } );