aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
authorMisko Hevery2010-12-07 11:39:59 -0800
committerMisko Hevery2010-12-08 14:20:26 -0800
commitfa722447f89e0215463cb39dfd1532189057fea8 (patch)
tree6b82a971ddad19ac955650eccfcae908f29a5096 /test/testabilityPatch.js
parent81d10e819eac778d231b6ba06521c9562d0146cf (diff)
downloadangular.js-fa722447f89e0215463cb39dfd1532189057fea8.tar.bz2
Fixed failed assignments of form abj[0].name=value
Closes #169
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index ea5c8ab7..d389ae19 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -13,6 +13,8 @@ if (window.jstestdriver) {
}
beforeEach(function(){
+ // This is to reset parsers global cache of expressions.
+ compileCache = {};
this.addMatchers({
toBeInvalid: function(){
var element = jqLite(this.actual);