require
require copied to clipboard
Core `requirejs` features reimplemented to work with Meteor
It currently depends on amd:[email protected] - is there a reason it's behind or would you welcome a PR ?
Addresses #17
Suppose we do something like this: ``` javascript require(['module1', 'module2']); ``` Since the corresponding one paramter calls ``` javascript require('module1'); require('module2'); ``` would return the module objects, I guess that...
This seems to be quite a usefull feature. Also we could think about exposing this modules to the client, if they are initially defined on server.
It would be nice to have a method to log current module load status, i.e. tell if all dependencies have been resolved. This may be very useful for debuging.