dist/jscow.js
function(index, value) {
			
			if (index && value) {
			
				if (this.cache[index] === undefined) {
					this.cache[index] = false;
				}

				this.cache[index] = value;
				
			}else{
				if (!index) {
					return this.cache;
				} else if (this.cache[index]) {
					return this.cache[index];
				}
			}
			
			return this;
		}
function(index, value) {
			
			if (index && value) {
			
				if (this.cache[index] === undefined) {
					this.cache[index] = false;
				}

				this.cache[index] = value;
				
			}else{
				if (!index) {
					return this.cache;
				} else if (this.cache[index]) {
					return this.cache[index];
				}
			}
			
			return this;
		}
function ( index , value ) { if ( index && value ) { if ( this . cache [ index ] === undefined ) { this . cache [ index ] = false ; } this . cache [ index ] = value ; } else { if ( ! index ) { return this . cache ; } else if ( this . cache [ index ] ) { return this . cache [ index ] ; } } return this ; }
Get an cached object from the cache property or set a value to the cache property
@method cache
@param {String} index Index or name of the set value.
@param {Object} value Value, which is to be stored.
@return {Object} Returns the value for the defined index.
@chainable
Get an cached object from the cache property or set a value to the cache property