MCPcopy Index your code
hub / github.com/NikLever/ThreeJS-PathEditor / getPathNames

Method getPathNames

store.js:45–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 getPathNames(){
46 const names = [];
47 const serializedData = localStorage.getItem( Store.namespace );
48 if (serializedData==null) return ['Path1'];
49 const data = JSON.parse(serializedData);
50 for (const [key, value] of Object.entries(data)) {
51 if (key != 'activePath' && key != 'tips') names.push( key );
52 }
53 return names;
54 }
55
56 copy(){
57 let name = this.read( 'activePath' );

Callers 6

nextPathNameMethod · 0.95
constructorMethod · 0.80
updatePathNamesGUIMethod · 0.80
deletePathMethod · 0.80
newPathMethod · 0.80
copyPathMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected