Explorar o código

added toString methos

Gildas %!s(int64=6) %!d(string=hai) anos
pai
achega
201a6f83de
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/hooks/content/content-hooks-web.js

+ 1 - 0
lib/hooks/content/content-hooks-web.js

@@ -35,5 +35,6 @@
 		dispatchEvent(new CustomEvent("single-file-push-state", { detail: { state, title, url } }));
 		pushState.call(history, state, title, url);
 	};
+	history.pushState.toString = function () { return "function pushState() { [native code]"; };
 
 })();