demo/amd/rjs/output/unified/marionette-build.js
function(view, behaviors, methodNames) {
        _.each(methodNames, function(methodName) {
          view[methodName] = _.partial(methods[methodName], view[methodName], behaviors);
        });
      }
function(view, behaviors, methodNames) {
        _.each(methodNames, function(methodName) {
          view[methodName] = _.partial(methods[methodName], view[methodName], behaviors);
        });
      }
Wrap view internal methods so that they delegate to behaviors. For example, `onDestroy` should trigger destroy on all of the behaviors and then destroy itself. i.e.  `view.delegateEvents = _.partial(methods.delegateEvents, view.delegateEvents, behaviors);`