Skip to content

Commit

Permalink
added support for constructor args in MM.TouchHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn Allen committed Dec 15, 2011
1 parent 28f0bdb commit f175018
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/touch.js
@@ -1,4 +1,8 @@
MM.TouchHandler = function() { };
MM.TouchHandler = function(map, options) {
if (map) {
this.init(map, options);
}
};

MM.TouchHandler.prototype = {

Expand Down

0 comments on commit f175018

Please sign in to comment.