This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
[Firefox] Use of attributes' specified attribute is deprecated. It always returns true. #2160
Comments
Im getting this aswell. |
sup? |
+1 |
2 similar comments
+1 |
+1 |
Getting this as well using 1.0.7 |
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Jul 15, 2013
attr.specified is deprecated in Gecko 7.0 and creates unwanted warnings on FireFox. It seems that modern browsers, but possibly not IE, only provide specified attributes when calling element.getAttributes() and so removing this is unlikely to break applications. See https://developer.mozilla.org/en-US/docs/Web/API/Attr and http://msdn.microsoft.com/en-us/library/ie/ms534637(v=vs.85).aspx Closes angular#2160
btford
pushed a commit
to btford/angular.js
that referenced
this issue
Aug 12, 2013
the specified attribute is depricated and creates warnings in Firefox Closes angular#3231 Closes angular#2160
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
if(attr.specified)
here: https://github.com/angular/angular.js/blob/master/src/ng/compile.js#L521 triggers a warning in Firefox 19Doc from Firefox https://developer.mozilla.org/en-US/docs/DOM/Attr about Attr.specified
Is
if (attr.specified) {
even needed?The text was updated successfully, but these errors were encountered: