aboutsummaryrefslogtreecommitdiffstats
path: root/src/.jshintrc
diff options
context:
space:
mode:
authorMatias Niemelä2013-11-18 22:13:28 -0500
committerMatias Niemelä2013-11-21 20:47:44 -0500
commit0cd7e8f22721f62b62440bb059ae764ebbe7b42a (patch)
tree6eeb56d123d2bc4c2417b80f1f64079eb2b97059 /src/.jshintrc
parentba1b47f85b771f8221db58a46b58429375b0ee6e (diff)
downloadangular.js-0cd7e8f22721f62b62440bb059ae764ebbe7b42a.tar.bz2
fix($compile): ensure CSS classes are added and removed only when necessary
When $compile interpolates a CSS class attribute expression it will do so by comparing the CSS class value already present on the element. This may lead to unexpected results when dealing with ngClass values being added and removed therefore it is best that both compile and ngClass delegate addClass/removeClass operations to the same block of code.
Diffstat (limited to 'src/.jshintrc')
-rw-r--r--src/.jshintrc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/.jshintrc b/src/.jshintrc
index 2467d667..f32caa45 100644
--- a/src/.jshintrc
+++ b/src/.jshintrc
@@ -100,7 +100,6 @@
"assertNotHasOwnProperty": false,
"getter": false,
"getBlockElements": false,
- "tokenDifference": false,
/* AngularPublic.js */
"version": false,