src/conbo/binding/AttributeBindings.js
function(el, value, options)
	{
		var view = options.view;
		var states = value.split(' ');
		
		var stateChangeHandler = (function()
		{
			this.cbInclude(el, states.indexOf(view.currentState) != -1);
		}).bind(this);
		
		view.addEventListener('change:currentState', stateChangeHandler, this);
		stateChangeHandler.call(this);
	}
function(el, value, options)
	{
		var view = options.view;
		var states = value.split(' ');
		
		var stateChangeHandler = (function()
		{
			this.cbInclude(el, states.indexOf(view.currentState) != -1);
		}).bind(this);
		
		view.addEventListener('change:currentState', stateChangeHandler, this);
		stateChangeHandler.call(this);
	}
function ( el , value , options ) { var view = options . view ; var states = value . split ( ' ' ) ; var stateChangeHandler = ( function ( ) { this . cbInclude ( el , states . indexOf ( view . currentState ) != - 1 ) ; } ) . bind ( this ) ; view . addEventListener ( 'change:currentState' , stateChangeHandler , this ) ; stateChangeHandler . call ( this ) ; }
Only includes the specified element in the layout when the View's `currentState`
matches one of the states listed in the attribute's value; multiple states should
be separated by spaces

@param 		{HTMLElement}	el - DOM element to which the attribute applies
@param 		{*} 			value - The value referenced by the attribute
@param 		{Object} 		options - Options relating to this binding
@returns		{void}

@example
<div cb-include-in="happy sad elated"></div>
Only includes the specified element in the layout when the View s currentState matches one of the states listed in the attribute s value ; multiple states should be separated by spaces