Changed around line 124: wwsSnippetsParser
- const settings = this.getFolderSettings(concept.id)
+ const settings = this.getFolderSettings(concept.folder)
- return concept.id + "/" + snippets
+ return concept.folder + "/" + snippets
Changed around line 138: endColumns
- ${this.fetchedFolders.map(concept => `- ${concept.id}\n link ${concept.id}/index.html`).join("\n")}
+ ${this.fetchedFolders.map(concept => `- ${concept.folder}\n link ${concept.folder}/index.html`).join("\n")}
- ${this.unfetchedFolders.map(concept => `- ${concept.id}`).join("\n")}
+ ${this.unfetchedFolders.map(concept => `- ${concept.folder}`).join("\n")}
Changed around line 160: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- concepts.forEach(concept => (concept.fetched = Disk.exists(path.join(wwsDir, concept.id))))
+ concepts.forEach(concept => (concept.fetched = Disk.exists(path.join(wwsDir, concept.folder))))
Changed around line 175: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- const { fetched, id, description } = concept
+ const { fetched, folder, description } = concept
- Folder: id,
+ Folder: folder,
Changed around line 199: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- const folder = this.folders.find(concept => concept.id === folderName)
+ const folder = this.folders.find(concept => concept.folder === folderName)
- const rootFolder = path.join(wwsDir, folder.id)
+ const rootFolder = path.join(wwsDir, folder.folder)
Changed around line 214: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- const settingsParticle = this.getFolderSettings(folder.id)
+ const settingsParticle = this.getFolderSettings(folder.folder)
Changed around line 232: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- if (!folderNames.length) fetchedFolders.forEach(concept => this.fetchScroll(concept.id))
+ if (!folderNames.length) fetchedFolders.forEach(concept => this.fetchScroll(concept.folder))