public/javascripts/yui/storage/storage.js
function(engineConstructor) {
			if (YL.isFunction(engineConstructor) && YL.isFunction(engineConstructor.isAvailable) && YL.isString(engineConstructor.ENGINE_NAME)) {
				_registeredEngineMap[engineConstructor.ENGINE_NAME] = engineConstructor;
				_registeredEngineSet.push(engineConstructor);
				return true;
			}

			return false;
		}
function(engineConstructor) {
			if (YL.isFunction(engineConstructor) && YL.isFunction(engineConstructor.isAvailable) && YL.isString(engineConstructor.ENGINE_NAME)) {
				_registeredEngineMap[engineConstructor.ENGINE_NAME] = engineConstructor;
				_registeredEngineSet.push(engineConstructor);
				return true;
			}

			return false;
		}
function ( engineConstructor ) { if ( YL . isFunction ( engineConstructor ) && YL . isFunction ( engineConstructor . isAvailable ) && YL . isString ( engineConstructor . ENGINE_NAME ) ) { _registeredEngineMap [ engineConstructor . ENGINE_NAME ] = engineConstructor ; _registeredEngineSet . push ( engineConstructor ) ; return true ; } return false ; }
Registers a engineType Class with the StorageManager singleton; first in is the first out.
@method register
@param engineConstructor {Function} Required. The engine constructor function, see engines.
@return {Boolean} When successfully registered.
@static
Registers a engineType Class with the StorageManager singleton ; first in is the first out .