lib/conbo.js
function(url)
	{
		url || (url = this.templateUrl);
		
		var el = this.body;
		
		this.unbindView();
		
		if (this.templateCacheEnabled !== false && View__templateCache[url])
		{
			el.innerHTML = View__templateCache[url];
			this.__initView();
			
			return this;
		}
		
		var resultHandler = function(event)
		{
			var result = this.__parseTemplate(event.result);
			
			if (this.templateCacheEnabled !== false)
			{
				View__templateCache[url] = result;
			}
			
			el.innerHTML = result;
			this.__initView();
		};
		
		var faultHandler = function(event)
		{
			el.innerHTML = '';
			
			this.dispatchEvent(new conbo.ConboEvent(conbo.ConboEvent.TEMPLATE_ERROR));
			this.__initView();
		};
		
		conbo
			.httpRequest({url:url, dataType:'text'})
			.then(resultHandler.bind(this), faultHandler.bind(this))
			;
		
		return this;
	}
function(url)
	{
		url || (url = this.templateUrl);
		
		var el = this.body;
		
		this.unbindView();
		
		if (this.templateCacheEnabled !== false && View__templateCache[url])
		{
			el.innerHTML = View__templateCache[url];
			this.__initView();
			
			return this;
		}
		
		var resultHandler = function(event)
		{
			var result = this.__parseTemplate(event.result);
			
			if (this.templateCacheEnabled !== false)
			{
				View__templateCache[url] = result;
			}
			
			el.innerHTML = result;
			this.__initView();
		};
		
		var faultHandler = function(event)
		{
			el.innerHTML = '';
			
			this.dispatchEvent(new conbo.ConboEvent(conbo.ConboEvent.TEMPLATE_ERROR));
			this.__initView();
		};
		
		conbo
			.httpRequest({url:url, dataType:'text'})
			.then(resultHandler.bind(this), faultHandler.bind(this))
			;
		
		return this;
	}
function ( url ) { url || ( url = this . templateUrl ) ; var el = this . body ; this . unbindView ( ) ; if ( this . templateCacheEnabled !== false && View__templateCache [ url ] ) { el . innerHTML = View__templateCache [ url ] ; this . __initView ( ) ; return this ; } var resultHandler = function ( event ) { var result = this . __parseTemplate ( event . result ) ; if ( this . templateCacheEnabled !== false ) { View__templateCache [ url ] = result ; } el . innerHTML = result ; this . __initView ( ) ; } ; var faultHandler = function ( event ) { el . innerHTML = '' ; this . dispatchEvent ( new conbo . ConboEvent ( conbo . ConboEvent . TEMPLATE_ERROR ) ) ; this . __initView ( ) ; } ; conbo . httpRequest ( { url : url , dataType : 'text' } ) . then ( resultHandler . bind ( this ) , faultHandler . bind ( this ) ) ; return this ; }
Load HTML template and use it to populate this View's element

@param 	{string}	[url]	- The URL to which the request is sent
@returns	{this}
Load HTML template and use it to populate this View s element