aboutsummaryrefslogtreecommitdiffstats
path: root/src/.jshintrc
diff options
context:
space:
mode:
authorMatias Niemelä2013-11-14 23:45:22 -0500
committerMatias Niemelä2013-11-20 17:15:56 -0500
commit6b8bbe4d90640542eed5607a8c91f6b977b1d6c0 (patch)
tree593e18ea6320f33ec0279f62f0968db74d34e471 /src/.jshintrc
parent7067a8fb0b18d5b5489006e1960cee721a88b4d2 (diff)
downloadangular.js-6b8bbe4d90640542eed5607a8c91f6b977b1d6c0.tar.bz2
fix(ngClass): ensure that ngClass only adds/removes the changed classes
ngClass works by removing all the former classes and then adding all the new classes to the element during each watch change operation. This may cause transition animations to never render. The ngClass directive will now only add and remove the classes that change during each watch operation. Closes #4960 Closes #4944
Diffstat (limited to 'src/.jshintrc')
-rw-r--r--src/.jshintrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/.jshintrc b/src/.jshintrc
index e29b09f3..2467d667 100644
--- a/src/.jshintrc
+++ b/src/.jshintrc
@@ -100,6 +100,7 @@
"assertNotHasOwnProperty": false,
"getter": false,
"getBlockElements": false,
+ "tokenDifference": false,
/* AngularPublic.js */
"version": false,
@@ -162,4 +163,4 @@
"nullFormCtrl": false
}
-} \ No newline at end of file
+}