public/javascripts/yui/history/history-debug.js
function (module) {

            var moduleObj;

            if (typeof module !== "string") {
                throw new Error("Missing or invalid argument");
            }

            if (!_initialized) {
                throw new Error("The Browser History Manager is not initialized");
            }

            moduleObj = _modules[module];
            if (!moduleObj) {
                throw new Error("No such registered module: " + module);
            }

            return unescape(moduleObj.currentState);
        }
function (module) {

            var moduleObj;

            if (typeof module !== "string") {
                throw new Error("Missing or invalid argument");
            }

            if (!_initialized) {
                throw new Error("The Browser History Manager is not initialized");
            }

            moduleObj = _modules[module];
            if (!moduleObj) {
                throw new Error("No such registered module: " + module);
            }

            return unescape(moduleObj.currentState);
        }
function ( module ) { var moduleObj ; if ( typeof module !== "string" ) { throw new Error ( "Missing or invalid argument" ) ; } if ( ! _initialized ) { throw new Error ( "The Browser History Manager is not initialized" ) ; } moduleObj = _modules [ module ] ; if ( ! moduleObj ) { throw new Error ( "No such registered module: " + module ) ; } return unescape ( moduleObj . currentState ) ; }
Returns the current state of the specified module.

@method getCurrentState
@param {string} module Non-empty string representing your module.
@return {string} The current state of the specified module.
@public
Returns the current state of the specified module .