Skip to content

Commit

Permalink
bug fixed: destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
5509 committed Jan 5, 2012
1 parent dbd5839 commit 0e09bc0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions swpnav.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Swpnav
*
* @version 0.2.1
* @version 0.2.2
* @author nori ([email protected])
* @copyright 5509 (http://5509.me/)
* @license The MIT License
* @link https://github.com/5509/Swpnav
*
* 2011-12-21 12:44
* 2012-01-05 21:43
*/
;(function(window, document, undefined) {

Expand Down Expand Up @@ -247,9 +247,9 @@
destroy: function() {
var self = this;

self.content.removeevListener(touchStartev, self);
self.content.removeevListener(touchMoveev, self);
self.content.removeevListener(touchEndev, self);
self.content.removeEventListener(touchStartev, self);
self.content.removeEventListener(touchMoveev, self);
self.content.removeEventListener(touchEndev, self);
}
};

Expand Down

0 comments on commit 0e09bc0

Please sign in to comment.