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

        var moduleName, moduleObj, initialStates = [], currentStates = [];

        for (moduleName in _modules) {
            if (YAHOO.lang.hasOwnProperty(_modules, moduleName)) {
                moduleObj = _modules[moduleName];
                initialStates.push(moduleName + "=" + moduleObj.initialState);
                currentStates.push(moduleName + "=" + moduleObj.currentState);
            }
        }

        _stateField.value = initialStates.join("&") + "|" + currentStates.join("&");

        if (YAHOO.env.ua.webkit) {
            _stateField.value += "|" + _fqstates.join(",");
        }
    }
function _storeStates() {

        var moduleName, moduleObj, initialStates = [], currentStates = [];

        for (moduleName in _modules) {
            if (YAHOO.lang.hasOwnProperty(_modules, moduleName)) {
                moduleObj = _modules[moduleName];
                initialStates.push(moduleName + "=" + moduleObj.initialState);
                currentStates.push(moduleName + "=" + moduleObj.currentState);
            }
        }

        _stateField.value = initialStates.join("&") + "|" + currentStates.join("&");

        if (YAHOO.env.ua.webkit) {
            _stateField.value += "|" + _fqstates.join(",");
        }
    }
function _storeStates ( ) { var moduleName , moduleObj , initialStates = [ ] , currentStates = [ ] ; for ( moduleName in _modules ) { if ( YAHOO . lang . hasOwnProperty ( _modules , moduleName ) ) { moduleObj = _modules [ moduleName ] ; initialStates . push ( moduleName + "=" + moduleObj . initialState ) ; currentStates . push ( moduleName + "=" + moduleObj . currentState ) ; } } _stateField . value = initialStates . join ( "&" ) + "|" + currentStates . join ( "&" ) ; if ( YAHOO . env . ua . webkit ) { _stateField . value += "|" + _fqstates . join ( "," ) ; } }
Stores all the registered modules' initial state and current state.
On Safari, we also store all the fully qualified states visited by
the application within a single browser session. The storage takes
place in the form field specified during initialization.

@method _storeStates
@private
Stores all the registered modules initial state and current state . On Safari we also store all the fully qualified states visited by the application within a single browser session . The storage takes place in the form field specified during initialization .