-
Notifications
You must be signed in to change notification settings - Fork 37
Stubbing requirejs #26
Comments
Afaik Chris has a buster-requirejs module planned, that'll probably do pretty much what you suggest here. We don't want it in "core" buster, but it will be easy to simply install the module and load it in the config file. |
Not surprisingly you guys are way ahead of me:) Awesome. Meanwhile I'll get more familiar with buster in other areas. The path-issue is a bit of a blocker for me right now so I might as well explore a bit. |
So far, development of buster has been fairly closed. Most of the work is done in private discussions, in norwegian, directly between Chris and myself.. From now on it'll all be in english and CC-ed to http://groups.google.com/group/busterjs-dev so that'll hopefully make "outsiders" feel more welcome. Many things are still just in our heads though, especially buster-capture-server and buster-test related stuff. Tobias Ebnöther (ebi on IRC) is currently working on a test coverage module, which is pretty much a standalone extension that uses our existing extension APIs. So since the requirejs stuff is also an extension, it's probably not that far fetched for you to start working on a buster-requirejs extension. Come join us on IRC if you aren't already there, or e-mail busterjs-dev@googlegroups.com, and we'll help in any way we can. |
I really like the idea of the module stubs. Hadn't thought of that. |
Im glad you like it! I've been using amd modules for a few weeks and this is one of the things i I hope i will be up to speed with buster fast enough to help out with what Great fun!
|
Do we close this issue? Or should we build support for module stubs as well as buster-amd from #15? |
Should probably live in |
Closing, then. The more stuff we can get into #15 the better :D |
Just thought of a complimentary approach to the one described in #15.
If there was a requirejs extension for buster that would do this:
Then buster has full control over which modules are loaded and could if necessary rewrite paths etc. Internally it would probably be wise to delegate to requirejs somehow since requirejs has a lot of plugins and stuff that would be a pain to emulate properly (I guess...). The merits of this approach I think is:
buster.moduleStubs({"server/queue", function(element) {...emulate queue...}});
Totally insane?
The text was updated successfully, but these errors were encountered: