Plato on Github
Report Home
src/manipulation/setGlobalEval.js
Maintainability
74.85
Lines of code
22
Difficulty
11.20
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
define( [ "../data/var/dataPriv" ], function( dataPriv ) { "use strict"; // Mark scripts as having already been evaluated function setGlobalEval( elems, refElements ) { var i = 0, l = elems.length; for ( ; i < l; i++ ) { dataPriv.set( elems[ i ], "globalEval", !refElements || dataPriv.get( refElements[ i ], "globalEval" ) ); } } return setGlobalEval; } );