code: 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);
          }
docs: 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