lib/windowHistory.js
function init() {
    var stateFromHash = getStateFromHash();
    var stateChanged = false;

    if (typeof defaults === 'object' && defaults) {
      Object.keys(defaults).forEach(function(key) {
        if (key in stateFromHash) return;

        stateFromHash[key] = defaults[key]
        stateChanged = true;
      });
    }

    if (stateChanged) set(stateFromHash);
  }
function init() {
    var stateFromHash = getStateFromHash();
    var stateChanged = false;

    if (typeof defaults === 'object' && defaults) {
      Object.keys(defaults).forEach(function(key) {
        if (key in stateFromHash) return;

        stateFromHash[key] = defaults[key]
        stateChanged = true;
      });
    }

    if (stateChanged) set(stateFromHash);
  }
function init ( ) { var stateFromHash = getStateFromHash ( ) ; var stateChanged = false ; if ( typeof defaults === 'object' && defaults ) { Object . keys ( defaults ) . forEach ( function ( key ) { if ( key in stateFromHash ) return ; stateFromHash [ key ] = defaults [ key ] stateChanged = true ; } ) ; } if ( stateChanged ) set ( stateFromHash ) ; }
Public API is over. You can ignore this part.
Public API is over . You can ignore this part .