src/js/MindMaps.js
function createHTML5Shims() {
  // localstorage dummy (does nothing)
  if (typeof window.localStorage == 'undefined') {
    window.localStorage = {
      getItem : function() {
        return null;
      },
      setItem : function() {
      },
      clear : function() {
      },
      removeItem : function() {
      },
      length : 0,
      key : function() {
        return null;
      }
    };
  }
}
function createHTML5Shims() {
  // localstorage dummy (does nothing)
  if (typeof window.localStorage == 'undefined') {
    window.localStorage = {
      getItem : function() {
        return null;
      },
      setItem : function() {
      },
      clear : function() {
      },
      removeItem : function() {
      },
      length : 0,
      key : function() {
        return null;
      }
    };
  }
}
function createHTML5Shims ( ) { // localstorage dummy (does nothing)
 if ( typeof window . localStorage == 'undefined' ) { window . localStorage = { getItem : function ( ) { return null ; } , setItem : function ( ) { } , clear : function ( ) { } , removeItem : function ( ) { } , length : 0 , key : function ( ) { return null ; } } ; } }
Create shims for HTML5 functionality if not supported by browser.
Create shims for HTML5 functionality if not supported by browser .