function(behavior, i, eventName, trigger) {
        // Unique identifier for the `this._triggers` hash
        var triggerKey = trigger.replace(/^\S+/, function(triggerName) {
          return triggerName + '.' + 'behaviortriggers' + i;
        });
  
        this._triggers[triggerKey] = this._view._buildViewTrigger(eventName);
      }
function(behavior, i, eventName, trigger) {
        // Unique identifier for the `this._triggers` hash
        var triggerKey = trigger.replace(/^\S+/, function(triggerName) {
          return triggerName + '.' + 'behaviortriggers' + i;
        });
  
        this._triggers[triggerKey] = this._view._buildViewTrigger(eventName);
      }
function ( behavior , i , eventName , trigger ) { // Unique identifier for the `this._triggers` hash var triggerKey = trigger . replace ( / ^\S+ / , function ( triggerName ) { return triggerName + '.' + 'behaviortriggers' + i ; } ) ; this . _triggers [ triggerKey ] = this . _view . _buildViewTrigger ( eventName ) ; }
Internal method to create and assign the trigger handler for a given behavior
Internal method to create and assign the trigger handler for a given behavior