MCPcopy Create free account
hub / github.com/NikLever/ThreeJS-PathEditor / tipShown

Method tipShown

store.js:95–101  ·  view source on GitHub ↗
( index )

Source from the content-addressed store, hash-verified

93 }
94
95 set tipShown( index ){
96 const serializedData = localStorage.getItem( Store.namespace );
97 const data = serializedData ? JSON.parse(serializedData) : {};
98 if (data['tips']==undefined) data['tips'] = [ false, false, false, false, false, false ];
99 data['tips'][index] = true;
100 localStorage.setItem(Store.namespace, JSON.stringify(data));
101 }
102}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected