MCPcopy Create free account
hub / github.com/mailru/FileAPI / setHash

Function setHash

flash/core/html-template/history/history.js:199–204  ·  view source on GitHub ↗
(hash)

Source from the content-addressed store, hash-verified

197
198 /* Get the current location hash excluding the '#' symbol. */
199 function setHash(hash) {
200 // It would be nice if we could use document.location.hash here,
201 // but it's faulty sometimes.
202 if (hash == '') hash = '#'
203 document.location.hash = hash;
204 }
205
206 function createState(baseUrl, newUrl, flexAppUrl) {
207 return { 'baseUrl': baseUrl, 'newUrl': newUrl, 'flexAppUrl': flexAppUrl, 'title': null };

Callers 1

addHistoryEntryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…