David McFarlane · @dkmcf
14 followers · 267 posts · Server twit.social

Exploring inner workings of lab.js by running it from readable source code. Learned so far:
- Must use 'type="module"' to load .js files that use "import".
- JavaScript modules will run only from a server, not from local drive.
- Relative references must start with either "/", "./", or "../".
- lab.js relies on several 3rd-party libraries (e.g., , ) which
developers must get for themselves.

#lodash #filesaver #labjs

Last updated 2 years ago