iot-backend/software/flow/node_modules/jquery/src/manipulation/setGlobalEval.js

23 lines
381 B
JavaScript
Raw Normal View History

2023-02-22 17:26:41 +01:00
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;
} );