lib/js/Component.js
function(options) {
      var t = this,
          opts = _.extend({trim:true, deep:true, monitorOnly:true}, options),
          raw = Backbone.Model.prototype.toJSON.call(t, opts);

      // Keep only the monitor portion (strip the probe portion)?
      if (opts.monitorOnly) {
        raw.monitor = t.get('monitor').toMonitorJSON(opts);
      }
      return raw;
    }
function(options) {
      var t = this,
          opts = _.extend({trim:true, deep:true, monitorOnly:true}, options),
          raw = Backbone.Model.prototype.toJSON.call(t, opts);

      // Keep only the monitor portion (strip the probe portion)?
      if (opts.monitorOnly) {
        raw.monitor = t.get('monitor').toMonitorJSON(opts);
      }
      return raw;
    }
function ( options ) { var t = this , opts = _ . extend ( { trim : true , deep : true , monitorOnly : true } , options ) , raw = Backbone . Model . prototype . toJSON . call ( t , opts ) ; // Keep only the monitor portion (strip the probe portion)? if ( opts . monitorOnly ) { raw . monitor = t . get ( 'monitor' ) . toMonitorJSON ( opts ) ; } return raw ; }
Overridden to produce only the persistent portion of the page
Overridden to produce only the persistent portion of the page