Skip to content

Commit

Permalink
Anonymous function for supportAEL isn't required
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel15 committed Feb 8, 2012
1 parent aec0934 commit e60bc6b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Assets/Scripts/DOMready.js
Expand Up @@ -4,13 +4,7 @@ var DOMready = (function() {
var win = window,
doc = win.document,
dce = doc.createElement,
supportAEL = (function(){
if (doc.addEventListener) {
return true;
} else {
return false;
}
}()),
supportAEL = !!doc.addEventListener,
queue = [],
exec,
loaded,
Expand Down

0 comments on commit e60bc6b

Please sign in to comment.