MCPcopy
hub / github.com/dataarts/dat.gui / getLocalStorageHash

Function getLocalStorageHash

src/dat/gui/GUI.js:1180–1183  ·  view source on GitHub ↗
(gui, key)

Source from the content-addressed store, hash-verified

1178}
1179
1180function getLocalStorageHash(gui, key) {
1181 // TODO how does this deal with multiple GUI's?
1182 return document.location.href + '.' + key;
1183}
1184
1185function addPresetOption(gui, name, setSelected) {
1186 const opt = document.createElement('option');

Callers 2

GUIFunction · 0.85
addSaveMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…