aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMisko Hevery2011-02-04 16:42:21 -0800
committerMisko Hevery2011-02-16 00:48:22 -0500
commita004d487c4bb48b2bec19b60bc5ddc5244029be5 (patch)
tree48fe97cf0c79dc7126e7bfc5a40441738cb8dbab /test
parent037f30a0c9f819aedf47f0da782e8d1fec0d6489 (diff)
downloadangular.js-a004d487c4bb48b2bec19b60bc5ddc5244029be5.tar.bz2
allow jquery to be declared after angular in the script loading order
Diffstat (limited to 'test')
-rw-r--r--test/testabilityPatch.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index e0086b8a..32272a4d 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -26,6 +26,8 @@ if (window.jstestdriver) {
beforeEach(function(){
// This is to reset parsers global cache of expressions.
compileCache = {};
+ // reset to jQuery or default to us.
+ bindJQuery();
this.addMatchers({
toBeInvalid: function(){
var element = jqLite(this.actual);