Skip to content

Commit

Permalink
replace the remaining IE test for the 'fileSize' property in favour o…
Browse files Browse the repository at this point in the history
…f IE_LT_9 used in all other places
  • Loading branch information
dperini committed Oct 17, 2016
1 parent 591ed24 commit 3737559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/nwmatcher-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
return element || null;
},

_byId = !('fileSize' in doc) ?
_byId = !IE_LT_9 ?
function(id, from) {
id = (/\\/).test(id) ? unescapeIdentifier(id) : id;
return from.getElementById && from.getElementById(id) ||
Expand Down
4 changes: 2 additions & 2 deletions src/nwmatcher-noqsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
return element || null;
},

_byId = !('fileSize' in doc) ?
_byId = !IE_LT_9 ?
function(id, from) {
id = (/\\/).test(id) ? unescapeIdentifier(id) : id;
return from.getElementById && from.getElementById(id) ||
Expand Down Expand Up @@ -323,7 +323,7 @@

isLink =
function(element) {
return hasAttribute(element,'href') && LINK_NODES[element.nodeName];
return hasAttribute(element, 'href') && LINK_NODES[element.nodeName];
},

nthElement =
Expand Down

0 comments on commit 3737559

Please sign in to comment.