MCPcopy Create free account
hub / github.com/Code-dot-mil/code.mil / updateHashHistory

Function updateHashHistory

assets/js/main.js:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86
87 // Pull tree history from hash
88 function updateHashHistory() {
89 hashHistory = window.location.hash.replace('#','').split('!');
90 if (hashHistory.length == 1) {
91 hashHistory = ["tree-node-start"];
92 }
93 }
94
95 // Update tree to reflect hash state
96 function renderTree() {

Callers 1

renderTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected