fix last ie failure

This commit is contained in:
Misko Hevery 2010-04-23 07:34:02 -07:00
parent c29dc1a940
commit 076f37a5ec
2 changed files with 3 additions and 3 deletions

View file

@ -109,7 +109,7 @@ angularDirective("ng-bind-attr", function(expression){
specialName = REMOVE_ATTRIBUTES[lowercase(key)];
if (specialName) {
if (element[specialName] = toBoolean(value)) {
element.attr(key, value);
element.attr(specialName, value);
} else {
element.removeAttr(key);
}

View file

@ -1,2 +1,2 @@
# java -jar lib/jstestdriver/JsTestDriver.jar --tests all
java -jar lib/jstestdriver/JsTestDriver.jar --tests 'widget ng:switch' --config jsTestDriver-jquery.conf
java -jar lib/jstestdriver/JsTestDriver.jar --tests all
# java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-jquery.conf