@CWMma @domenic @BrendanEich Why not?
@CWMma @domenic @BrendanEich You would implement a `require` that synchronously executed the module and registered it.
-
-
@wycats@domenic@BrendanEich but you need to load it first, what you suggested works for dealing with cjs circular references -
@CWMma@domenic@BrendanEich I think you're assuming that you have to do all the work in terms of the loader hooks. require() is just a lib -
@wycats@domenic@BrendanEich it dies if you need to execute CJS code from within ES6 code. -
@wycats@domenic@BrendanEich this is based on my attempt to see if the loader api is rich enough to implement all of CJS
End of conversation
New conversation -
-
-
@wycats@domenic@BrendanEich I can say 'this is code evaluated by this point' , but not 'this code isn't evaluated until this point'Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.