Permalink
Browse files

update TODO

  • Loading branch information...
1 parent 8755be1 commit 4c4312cac7be14c9d902cd3179f921510d01798c @neonstalwart neonstalwart committed Aug 16, 2011
Showing with 0 additions and 32 deletions.
  1. +0 −32 TODO
View
32 TODO
@@ -7,35 +7,3 @@
lazy loads modules may want to be able to specify a new layer in the build for
the component that is lazy loaded. this may need to be done per loader to account
for differences/features in various loaders.
-- consider a way to provide a context-aware require via config.
- this will allow relative references for module ids. example usage:
- define(['twine', 'require'], function (Twine, require) {
- var container = new Twine();
- container.configure({
- require: require
- installers: [
- './installer'
- ]
- });
- });
-
- // ./installer
- define(['require'], function (require) {
- return {
- install: function (container) {
- return conatiner.configure({
- fibers: [
- 'twine/message/Fiber',
- './fibers/xyz'
- ],
- require: require,
- components: [
- {
- id: 'foo',
- module: './foo'
- }
- ]
- });
- }
- };
- });

0 comments on commit 4c4312c

Please sign in to comment.