Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
attilaolah committed Sep 3, 2014
1 parent 9b0c37d commit 4f5a048
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/wow.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/wow.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/wow.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ class Util
if elem.addEventListener? # W3C DOM
elem.addEventListener event, fn, false
else if elem.attachEvent? # IE DOM
elem.attachEvent "on#{event}", func
elem.attachEvent "on#{event}", fn
else # fallback
elem[event] = fn

removeEvent: (elem, event, fn) ->
if elem.removeEventListener? # W3C DOM
elem.removeEventListener event, fn, false
else if elem.detachEvent? # IE DOM
elem.detachEvent "on#{event}", func
elem.detachEvent "on#{event}", fn
else # fallback
delete elem[event]

Expand Down

0 comments on commit 4f5a048

Please sign in to comment.