Permalink
Browse files

Replace scroll{,start,end} with drag{,start,end}

0.98 used scroll, but 0.99 introduced drag variants.
  • Loading branch information...
1 parent 4aa96c3 commit 4b5b816ea7a1f6c6ed42d666156f5241e0c87d7a @nelstrom committed Nov 22, 2010
Showing with 9 additions and 9 deletions.
  1. +3 −3 public/index.html
  2. +6 −6 public/javascripts/interactive-panel.js
View
@@ -22,9 +22,9 @@
<dt>touchdown</dt> <dd>{touchdown}</dd>
<dt>touchmove</dt> <dd>{touchmove}</dd>
<dt>touchend</dt> <dd>{touchend}</dd>
- <dt>scrollstart</dt> <dd>{scrollstart}</dd>
- <dt>scroll</dt> <dd>{scroll}</dd>
- <dt>scrollend</dt> <dd>{scrollend}</dd>
+ <dt>dragstart</dt> <dd>{dragstart}</dd>
+ <dt>drag</dt> <dd>{drag}</dd>
+ <dt>dragend</dt> <dd>{dragend}</dd>
<dt>swipe</dt> <dd>{swipe}</dd>
</dl>
</textarea>
@@ -11,9 +11,9 @@ var InteractivePanel = Ext.extend( Ext.Panel, {
touchend: this.handleEvent,
touchmove: this.handleEvent,
touchdown: this.handleEvent,
- scrollstart: this.handleEvent,
- scroll: this.handleEvent,
- scrollend: this.handleEvent,
+ dragstart: this.handleEvent,
+ drag: this.handleEvent,
+ dragend: this.handleEvent,
singletap: this.handleEvent,
tap: this.handleEvent,
doubletap: this.handleEvent,
@@ -36,9 +36,9 @@ var InteractivePanel = Ext.extend( Ext.Panel, {
touchend: 0,
touchmove: 0,
touchdown: 0,
- scrollstart: 0,
- scroll: 0,
- scrollend: 0,
+ dragstart: 0,
+ drag: 0,
+ dragend: 0,
singletap: 0,
taphold: 0,
tapcancel: 0,

0 comments on commit 4b5b816

Please sign in to comment.