Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Eskat0n committed Feb 15, 2012
1 parent b54cfc4 commit 78b4d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mutabor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
window.mutabor = (function () {
var _interceptors = [],
_registerInterceptor = function (type, handler) {
window.document.addEventListener(type, handler)
document.addEventListener(type, handler)
_interceptors.push({
'type': type,
'handler': handler
Expand Down Expand Up @@ -73,7 +73,7 @@ window.mutabor = (function () {

reset: function () {
_interceptors.forEach(function (f) {
window.document.removeEventListener(f.type, f.handler)
document.removeEventListener(f.type, f.handler)
})
_interceptors = []
}
Expand Down

0 comments on commit 78b4d16

Please sign in to comment.