repo.or.cz
/
jquery.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Manipulation: Support $el.html(selfRemovingScript) (#5378)
[jquery.git]
/
src
/
manipulation
/
setGlobalEval.js
blob
9571bdcfa1fa3237ffdc3141dd2ae59bb7fe0cdb
1
import { dataPriv } from "../data/var/dataPriv.js";
2
3
// Mark scripts as having already been evaluated
4
export function setGlobalEval( elems, refElements ) {
5
var i = 0,
6
l = elems.length;
7
8
for ( ; i < l; i++ ) {
9
dataPriv.set(
10
elems[ i ],
11
"globalEval",
12
!refElements || dataPriv.get( refElements[ i ], "globalEval" )
13
);
14
}
15
}