You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a function to iterate over all files in a topic file - it should take in a path or a topic file string and execute a callback for each item that would be a page in the lab.
functioniterateFiles(topicFile,options?,callback){}callback=function(contents,metadata){}metadata={type: '',url: '',sectionTitle: '',sectionItems: [],topicData: {},// topic file structure?}// Maybe this should be an OOP object / have functions for most of these things.
The text was updated successfully, but these errors were encountered:
Building off #147 Ideas:
We need a function to iterate over all files in a topic file - it should take in a path or a topic file string and execute a callback for each item that would be a page in the lab.
The text was updated successfully, but these errors were encountered: