src/View.js
function()
	{
		if(this._isRunning && !this._isSuspended)
		{
			var shouldRefresh = true;
			if(typeof this.shouldRefresh === 'function') shouldRefresh = this.shouldRefresh();
			if(shouldRefresh)
			{
				if(typeof this.refresh === 'function') this.refresh();
				if(this._collectionBinder)
				{
					this._collectionBinder.refreshBoundViews();
					this._collectionBinder.refreshAll();
				}
				else
				{
					this._rebindCursors();
					this._refreshOwnBinders();
					if(this.subviews !== null)
					{
						for(var i = 0, l = this.subviews.length; i < l; i++) this.subviews[i].refreshAll();
					}
				}
			}
			this._pendingRefresh = false;
		}
	}
function()
	{
		if(this._isRunning && !this._isSuspended)
		{
			var shouldRefresh = true;
			if(typeof this.shouldRefresh === 'function') shouldRefresh = this.shouldRefresh();
			if(shouldRefresh)
			{
				if(typeof this.refresh === 'function') this.refresh();
				if(this._collectionBinder)
				{
					this._collectionBinder.refreshBoundViews();
					this._collectionBinder.refreshAll();
				}
				else
				{
					this._rebindCursors();
					this._refreshOwnBinders();
					if(this.subviews !== null)
					{
						for(var i = 0, l = this.subviews.length; i < l; i++) this.subviews[i].refreshAll();
					}
				}
			}
			this._pendingRefresh = false;
		}
	}
function ( ) { if ( this . _isRunning && ! this . _isSuspended ) { var shouldRefresh = true ; if ( typeof this . shouldRefresh === 'function' ) shouldRefresh = this . shouldRefresh ( ) ; if ( shouldRefresh ) { if ( typeof this . refresh === 'function' ) this . refresh ( ) ; if ( this . _collectionBinder ) { this . _collectionBinder . refreshBoundViews ( ) ; this . _collectionBinder . refreshAll ( ) ; } else { this . _rebindCursors ( ) ; this . _refreshOwnBinders ( ) ; if ( this . subviews !== null ) { for ( var i = 0 , l = this . subviews . length ; i < l ; i ++ ) this . subviews [ i ] . refreshAll ( ) ; } } } this . _pendingRefresh = false ; } }
Refreshes all binders, subviews and bound views
Refreshes all binders subviews and bound views