Permalink
Browse files

cleanup

  • Loading branch information...
1 parent b54cfc4 commit 78b4d164268bfcbf3cce03e6938891e826daf584 @Eskat0n committed Feb 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mutabor.js
View
@@ -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
@@ -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 = []
}

0 comments on commit 78b4d16

Please sign in to comment.