src/list_view.js
function(model) {
		var _d = this._d; // quicker lookup
		if (!_d.hasData) {
			// if we've never rendered data yet, queue up a reset collection
			// this probably means we just finished our very first fetch
			// reset needed to clear out loading / no data state..
			return this.resetCollection();
		}
		_d.modelChanges[model.cid] = {t: 'add', m: model};
		this.updateViews();
	}
function(model) {
		var _d = this._d; // quicker lookup
		if (!_d.hasData) {
			// if we've never rendered data yet, queue up a reset collection
			// this probably means we just finished our very first fetch
			// reset needed to clear out loading / no data state..
			return this.resetCollection();
		}
		_d.modelChanges[model.cid] = {t: 'add', m: model};
		this.updateViews();
	}
function ( model ) { var _d = this . _d ; // quicker lookup if ( ! _d . hasData ) { // if we've never rendered data yet, queue up a reset collection // this probably means we just finished our very first fetch // reset needed to clear out loading / no data state.. return this . resetCollection ( ) ; } _d . modelChanges [ model . cid ] = { t : 'add' , m : model } ; this . updateViews ( ) ; }
these next coupl of methods queue up structures to then be flushed using updateViews updateViews should really be updateInternalCache or something...
these next coupl of methods queue up structures to then be flushed using updateViews updateViews should really be updateInternalCache or something ...