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

Function setHash

flash/image/html-template/history/history.js:208–213  ·  view source on GitHub ↗
(hash)

Source from the content-addressed store, hash-verified

206
207 /* Get the current location hash excluding the '#' symbol. */
208 function setHash(hash) {
209 // It would be nice if we could use document.location.hash here,
210 // but it's faulty sometimes.
211 if (hash == '') hash = '#'
212 document.location.hash = hash;
213 }
214
215 function createState(baseUrl, newUrl, flexAppUrl) {
216 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…