refactor(scrollView): remove test code

This commit is contained in:
Andy Joslin
2014-02-18 10:09:45 -05:00
parent 62fefc3c2d
commit b137cb318c

View File

@@ -624,12 +624,11 @@ ionic.views.Scroll = ionic.views.View.inherit({
if ('ontouchstart' in window) {
container.addEventListener("touchstart", function(e) {
console.log('touchstart scrollview');
if (e.defaultPrevented || shouldIgnorePress(e)) {
return;
}
self.doTouchStart(e.touches, e.timeStamp);
// e.preventDefault();
e.preventDefault();
}, false);
document.addEventListener("touchmove", function(e) {