mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-03-29 08:49:06 +08:00
fix last ie failure
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
4
test.sh
4
test.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user