torso-bundle.js
function() {
      var behaviorContext = Behavior.prototype.prepare.apply(this) || {};
      behaviorContext.data = this.data.toJSON();
      behaviorContext.loading = this.isLoading();
      behaviorContext.loadingIds = this.isLoadingIds();
      behaviorContext.loadingObjects = this.isLoadingObjects();
      return behaviorContext;
    }
function() {
      var behaviorContext = Behavior.prototype.prepare.apply(this) || {};
      behaviorContext.data = this.data.toJSON();
      behaviorContext.loading = this.isLoading();
      behaviorContext.loadingIds = this.isLoadingIds();
      behaviorContext.loadingObjects = this.isLoadingObjects();
      return behaviorContext;
    }
function ( ) { var behaviorContext = Behavior . prototype . prepare . apply ( this ) || { } ; behaviorContext . data = this . data . toJSON ( ) ; behaviorContext . loading = this . isLoading ( ) ; behaviorContext . loadingIds = this . isLoadingIds ( ) ; behaviorContext . loadingObjects = this . isLoadingObjects ( ) ; return behaviorContext ; }
Adds the toJSON of the data represented by this behavior to the context.
@method prepare
@override
Adds the toJSON of the data represented by this behavior to the context .