fix($compile): don't check attr.specified on non-ie7

the specified attribute is depricated and creates warnings in Firefox

Closes #3231
Closes #2160
This commit is contained in:
Igor Minar 2013-07-25 13:24:58 -07:00
parent 09fa0656b4
commit f9ea69f656

View file

@ -556,7 +556,7 @@ function $CompileProvider($provide) {
var index; var index;
attr = nAttrs[j]; attr = nAttrs[j];
if (attr.specified) { if (!msie || msie >= 8 || attr.specified) {
name = attr.name; name = attr.name;
// support ngAttr attribute binding // support ngAttr attribute binding
ngAttrName = directiveNormalize(name); ngAttrName = directiveNormalize(name);