blob: c6f7ee9ab948093f1777a61be5841573b1dd67cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import dataPriv from "../data/var/dataPriv.js";
// 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" )
);
}
}
export default setGlobalEval;
|