torso-bundle.js
function(bindInfo, eventKey) {
      return function() {
        var result,
            args = [{
              args: arguments,
              type: eventKey
            }];
        args.push(bindInfo.indices);
        result = bindInfo.fn.apply(this, args);
        this.__processFeedbackThenResult(result, bindInfo.feedbackCellField);
      };
    }
function(bindInfo, eventKey) {
      return function() {
        var result,
            args = [{
              args: arguments,
              type: eventKey
            }];
        args.push(bindInfo.indices);
        result = bindInfo.fn.apply(this, args);
        this.__processFeedbackThenResult(result, bindInfo.feedbackCellField);
      };
    }
function ( bindInfo , eventKey ) { return function ( ) { var result , args = [ { args : arguments , type : eventKey } ] ; args . push ( bindInfo . indices ) ; result = bindInfo . fn . apply ( this , args ) ; this . __processFeedbackThenResult ( result , bindInfo . feedbackCellField ) ; } ; }
Returns a properly wrapped "then" using a configuration object "bindInfo" and an "eventKey" that will be passed as the type
@param bindInfo {Object}
@param   bindInfo.feedbackCellField the property name of the feedback cell to store the "then" instructions
@param   bindInfo.fn the original "then" function
@param   [bindInfo.indices] the index map
@return {Function} the properly wrapped "then" function
@private
@method __generateThenCallback
Returns a properly wrapped then using a configuration object bindInfo and an eventKey that will be passed as the type