Skip to content

Commit a56b59c

Browse files
author
David Mark
committed
Merge pull request #2 from cinsoft/patch-1
Deleted attachTapListener. Clicks or "taps" need to be handled in attach...
2 parents cd3a5b5 + 315e773 commit a56b59c

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

mylib-touch.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,5 @@ if (typeof API != 'undefined' && API.attachListener && Function.prototype.call)
111111
attachListener(el, tapEventType, fn);
112112
});
113113
};
114-
115-
116-
API.attachTapListener = function(el, fn, thisObject) {
117-
var fnWrapped;
118-
119-
if (typeof tapEventType == 'undefined') {
120-
fnWrapped = tapListener(el, fn, thisObject);
121-
attachListener(el, 'tap', fnWrapped, thisObject);
122-
attachListener(el, 'click', fnWrapped, thisObject);
123-
} else {
124-
attachListener(el, tapEventType, fn, thisObject);
125-
}
126-
};
127114
})();
128115
}

0 commit comments

Comments
 (0)