IE DOM mapping #37

Closed
victor-homyakov opened this Issue May 17, 2011 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

victor-homyakov commented May 17, 2011

Emulated hasAttribute method has attribute mapping for IE

// older IE engines requires DOM mapping
// see NetFront/Playstation as an example
attribute = attribute in ATTR_MAPPING ?
        ATTR_MAPPING[attribute] : attribute;

while getAttribute has not. I think code for both methods should look similar.

@dperini dperini added a commit that referenced this issue May 17, 2011

@dperini dperini added missing DOM/HTML attribute mapping in IE 'getAttribute()' metho…
…d to make it consistent with 'hasAttribute()', fix issue #37 (victor homyakov)
c6853a1
Owner

dperini commented May 17, 2011

Good catch ! Fixed.
Thank you again for the input.

dperini closed this May 17, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment