aboutsummaryrefslogtreecommitdiffstats
path: root/test/jquery_remove.js
diff options
context:
space:
mode:
authorIgor Minar2011-09-15 04:54:00 +0200
committerIgor Minar2011-09-16 02:44:33 +0200
commit2170c06924b3a0dc1fef3b383d6a236e670dceea (patch)
treed90ce95ee59777d81c95cd8ed95a0c754eda710a /test/jquery_remove.js
parent0e5a24c584d88b17297010676b8e0005b3545efd (diff)
downloadangular.js-2170c06924b3a0dc1fef3b383d6a236e670dceea.tar.bz2
fix(specs): fix jQuery to jqLite binding on IE8
It appears that this whole time all IE8 unit tests ran only with jqLite. Due to a weird bug in IE[1], we never overwrote jqLite implementation with jQuery, so the tests ran with our jqLite instead. This affected only IE8 (and likely older) and only in unit testing mode. angular.js - the built artifact binds to jQuery just find. [1] https://plus.google.com/104744871076396904202/posts/Kqjuj6RSbbT
Diffstat (limited to 'test/jquery_remove.js')
-rw-r--r--test/jquery_remove.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/jquery_remove.js b/test/jquery_remove.js
index 0f2ce623..66029c81 100644
--- a/test/jquery_remove.js
+++ b/test/jquery_remove.js
@@ -1,3 +1,4 @@
'use strict';
-var _jQuery = jQuery.noConflict(true);
+var _jQuery = jQuery.noConflict(true),
+ _jqLiteMode = true;