txt
-->
<script>

(function(scope) {

 'use strict';

  var async = scope.Base.async;

  var Gestures = {
    gestures: {},

    // automate the event listeners for the native events
    // TODO(dfreedm): add a way to remove handlers.
    add: function(evType, node, handler) {
      // listen for events in order to "recognize" this event
      var g = this.gestures[evType];
      var gn = '_' + evType;
      var info = {started: false, abortTrack: false, oneshot: false};
      if (g && !