index.js
function fix(fn, path) {
  if (!running) return;

  if (path !== location.hash) {
    fn();
    path = location.hash;
  }

  setTimeout(function() {
    fix(fn, path);
  }, 500);
}
function fix(fn, path) {
  if (!running) return;

  if (path !== location.hash) {
    fn();
    path = location.hash;
  }

  setTimeout(function() {
    fix(fn, path);
  }, 500);
}
function fix ( fn , path ) { if ( ! running ) return ; if ( path !== location . hash ) { fn ( ) ; path = location . hash ; } setTimeout ( function ( ) { fix ( fn , path ) ; } , 500 ) ; }
onhashchange fix for IE<8

@param {Function} fn
@param {String} path
@api private
onhashchange fix for IE<8