aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/directives.js2
-rwxr-xr-xtest.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/directives.js b/src/directives.js
index 2d318be2..d9cf7962 100644
--- a/src/directives.js
+++ b/src/directives.js
@@ -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);
}
diff --git a/test.sh b/test.sh
index e1ab0d16..a1717861 100755
--- a/test.sh
+++ b/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