(method, args)
| 121 | * See https://github.com/devote/HTML5-History-API/issues/29 |
| 122 | */ |
| 123 | var fastFixChrome = function(method, args) { |
| 124 | var isNeedFix = global.history !== windowHistory; |
| 125 | if (isNeedFix) { |
| 126 | global.history = windowHistory; |
| 127 | } |
| 128 | method.apply(windowHistory, args); |
| 129 | if (isNeedFix) { |
| 130 | global.history = historyObject; |
| 131 | } |
| 132 | }; |
| 133 | |
| 134 | /** |
| 135 | * Properties that will be replaced/added to object |