dist/howler.js
function(id) {
      var self = this;

      if (self._endTimers[id]) {
        // Clear the timeout or remove the ended listener.
        if (typeof self._endTimers[id] !== 'function') {
          clearTimeout(self._endTimers[id]);
        } else {
          var sound = self._soundById(id);
          if (sound && sound._node) {
            sound._node.removeEventListener('ended', self._endTimers[id], false);
          }
        }

        delete self._endTimers[id];
      }

      return self;
    }
function(id) {
      var self = this;

      if (self._endTimers[id]) {
        // Clear the timeout or remove the ended listener.
        if (typeof self._endTimers[id] !== 'function') {
          clearTimeout(self._endTimers[id]);
        } else {
          var sound = self._soundById(id);
          if (sound && sound._node) {
            sound._node.removeEventListener('ended', self._endTimers[id], false);
          }
        }

        delete self._endTimers[id];
      }

      return self;
    }
function ( id ) { var self = this ; if ( self . _endTimers [ id ] ) { // Clear the timeout or remove the ended listener. if ( typeof self . _endTimers [ id ] !== 'function' ) { clearTimeout ( self . _endTimers [ id ] ) ; } else { var sound = self . _soundById ( id ) ; if ( sound && sound . _node ) { sound . _node . removeEventListener ( 'ended' , self . _endTimers [ id ] , false ) ; } } delete self . _endTimers [ id ] ; } return self ; }
Clear the end timer for a sound playback.
@param  {Number} id The sound ID.
@return {Howl}
Clear the end timer for a sound playback .