SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix(ngClass): keep track of old ngClass value manually

ngClassWatchAction, when called as a $watch function, gets the wrong old
value after it has been invoked previously due to observation of the
interpolated class attribute. As a result it doesn't remove classes
properly. Keeping track of the old value manually seems to fix this.

Closes #1637
P
Per Rovegård committed
5f5d4feadbfa9d8ecc8150041dfd2bca2b2e9fea
Parent: 791804b
Committed by Igor Minar <igor@angularjs.org> on 2/19/2013, 4:25:43 AM