Permalink
Browse files

fix unbind (courtesy of rpl)

  • Loading branch information...
1 parent 65efeda commit a8f5d681451e88e48722b76841f6d9c1ce0cf004 @daepark committed Mar 10, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 postmessage.js
View
@@ -146,7 +146,9 @@
}
else {
// unbind all listeners of all type
- l = {};
+ for (var i in l) {
+ delete l[i];
+ }
}
}
},

0 comments on commit a8f5d68

Please sign in to comment.