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
There is apparently a lot of work to convert using llab in node.js
Create an index.js at the root level
Each of the core libraries needs a module.exports
We should namespace each file for easier consistency / writing. (Each file is basically a mini module.)
We need to separate functions that need access to document or window
Things other than loader.js probably shouldn't just randomly execute code
Each script could have a webInit() method, or something that gets called from loader, or the loader could be augmented to have take in an onLoad callback for each "module". Yay, callbacks.
The text was updated successfully, but these errors were encountered:
llab is mostly going to serve up static assets, rather than service ajax,
no? Probably not the best role for node. Now, the building, I'm with you
there. I've started in on that for my apcsa using node.
On Sat, Jul 25, 2015 at 1:13 AM, Michael Ball [email protected]
wrote:
For building....But edc wants a full web server...so yeah...uh...
—
Reply to this email directly or view it on GitHub #147 (comment).
<-><=><-><=><-><=><-><=><-><=><-><=><-><=><-><=><-><=><-><=><->
Nathaniel Titterton, Ph.D. [email protected]
Computer Science Education U.C. Berkeley, 329 Soda Hall
There is apparently a lot of work to convert using llab in node.js
index.js
at the root levelmodule.exports
document
orwindow
loader.js
probably shouldn't just randomly execute codewebInit()
method, or something that gets called from loader, or the loader could be augmented to have take in an onLoad callback for each "module". Yay, callbacks.The text was updated successfully, but these errors were encountered: