Closed purusho closed 9 years ago
As I understood from the original (breaking) PR, that idea is to load (bundle) default router only when custom router doesn't exists. By hiding default router require from browserify. @saponifi3d can you confirm that?
So we need to support that and AMD case. Although I don't see how it would work for default router with browserify, since it won't be bundled and there would be no custom router either.
@alexindigo yeah exactly, sorry i haven't spent much time using require js :( i'm poking around to see if i can't make a fix to make all the parties happy since @purusho updated the require example i have a testbed that i can play with :dancer: (Thanks for again for that update!)
I think this should fix the require issue and still keep the original functionality of injecting an instance of
ClientRouter