MCPcopy Create free account
hub / github.com/devote/HTML5-History-API / fastFixChrome

Function fastFixChrome

history.js:123–132  ·  view source on GitHub ↗
(method, args)

Source from the content-addressed store, hash-verified

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

Callers 1

history.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected