in reply to standard require
I wouldn't do this if I were you. If your modules are OO then inherit, otherwise just write yourself a module template that you can use in your editor. I say this because I think its much better to have all the dependencies listed in the same file. I also think that you might have module interactivity problems at a later date if you make chages to the "common" module that could be very difficult to track down.
|
|---|