aboutsummaryrefslogtreecommitdiffstats
path: root/src/Compiler.js
diff options
context:
space:
mode:
authorMisko Hevery2010-04-20 18:14:13 -0700
committerMisko Hevery2010-04-20 18:14:13 -0700
commit22d93e0a3bc2a6dc0f64c63c68bc8f8489ea9068 (patch)
tree5f65b04ac9fb5a69d87ac40434a14367e6c1d4fc /src/Compiler.js
parent259c2bba4bf1fc4f0d4cf5bcda4ffef0fb5a615a (diff)
downloadangular.js-22d93e0a3bc2a6dc0f64c63c68bc8f8489ea9068.tar.bz2
fixes to enable ie
Diffstat (limited to 'src/Compiler.js')
-rw-r--r--src/Compiler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compiler.js b/src/Compiler.js
index 96df88fb..21302054 100644
--- a/src/Compiler.js
+++ b/src/Compiler.js
@@ -185,7 +185,7 @@ function eachAttribute(element, fn){
var i, attrs = element[0].attributes || [], chld, attr, name, value, attrValue = {};
for (i = 0; i < attrs.length; i++) {
attr = attrs[i];
- name = attr.name;
+ name = attr.name.replace(':', '-');
value = attr.value;
if (msie && name == 'href') {
value = decodeURIComponent(element[0].getAttribute(name, 2));