benchmarks/scenarios/ember.js
function (view, eventName, event) {
      if (view.has(eventName)) {
        // Handler should be able to re-dispatch events, so we don't
        // preventDefault or stopPropagation.
        return _emberMetalInstrumentation.flaggedInstrument('interaction.' + eventName, { event: event, view: view }, function () {
          return _emberMetalRun_loop.default.join(view, view.trigger, eventName, event);
        });
      } else {
        return true; // continue event propagation
      }
    }
function (view, eventName, event) {
      if (view.has(eventName)) {
        // Handler should be able to re-dispatch events, so we don't
        // preventDefault or stopPropagation.
        return _emberMetalInstrumentation.flaggedInstrument('interaction.' + eventName, { event: event, view: view }, function () {
          return _emberMetalRun_loop.default.join(view, view.trigger, eventName, event);
        });
      } else {
        return true; // continue event propagation
      }
    }
function ( view , eventName , event ) { if ( view . has ( eventName ) ) { // Handler should be able to re-dispatch events, so we don't // preventDefault or stopPropagation. return _emberMetalInstrumentation . flaggedInstrument ( 'interaction.' + eventName , { event : event , view : view } , function ( ) { return _emberMetalRun_loop . default . join ( view , view . trigger , eventName , event ) ; } ) ; } else { return true ; // continue event propagation } }
Handle events from `Ember.EventDispatcher`
Handle events from Ember . EventDispatcher