code: function(method, args) {
      var isNeedFix = global.history !== windowHistory;
      if (isNeedFix) {
        global.history = windowHistory;
      }
      method.apply(windowHistory, args);
      if (isNeedFix) {
        global.history = historyObject;
      }
    }
docs: Fix for Chrome in iOS
  See https://github.com/devote/HTML5-History-API/issues/29