We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eb74a2 commit 3074a52Copy full SHA for 3074a52
src/angular-bootstrap.js
@@ -55,17 +55,17 @@
55
try {
56
globalVars[varKey] = window[prop];
57
} catch(e) {} //ignore properties that throw exception when accessed (common in FF)
58
- } else if (globalVars[varKey] !== window[prop] && !isActuallyNaN(window[prop])) {
+ } else if (globalVars[varKey] !== window[prop] && !isActuallyNaN(window[prop]) && prop != 'jqLite') {
59
clobbered.push(prop);
60
console.error("Global variable clobbered by script " + file + "! Variable name: " + prop);
61
62
}
63
64
-
65
for (varKey in globalVars) {
66
prop = varKey.substr(11);
67
if (clobbered.indexOf(prop) == -1 &&
68
prop != 'event' &&
+ prop != 'jqLite' &&
69
!isActuallyNaN(globalVars[varKey]) &&
70
globalVars[varKey] !== window[prop]) {
71
0 commit comments