summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/bower_components/jquery/src/manipulation/setGlobalEval.js
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jquery/src/manipulation/setGlobalEval.js')
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery/src/manipulation/setGlobalEval.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jquery/src/manipulation/setGlobalEval.js b/ecomp-portal-FE/client/bower_components/jquery/src/manipulation/setGlobalEval.js
new file mode 100644
index 00000000..8ca69a03
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/jquery/src/manipulation/setGlobalEval.js
@@ -0,0 +1,20 @@
+define( [
+ "../data/var/dataPriv"
+], function( dataPriv ) {
+
+// 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;
+} );