Changes between Initial Version and Version 1 of Ticket #13048, comment 10


Ignore:
Timestamp:
Mar 23, 2012, 2:25:18 PM (8 years ago)
Author:
Evan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13048, comment 10

    initial v1  
    88is not enough to avoid the issue, 'e' must be stopped which means only following way can avoid duplicate callbacks:
    99{{{
    10 on(node, touch.press, function(e){event.stop});
     10on(node, touch.press, function(e){event.stop(e)});
    1111on(node, touch.move, callback);
    1212on(node, touch.release, callback);
    1313}}}
     14
     15so it doesn't make sense to let dojo.touch by default always
     16{{{
     17on(node, touch.press, function(e){event.stop(e)});
     18}}}