xpensia / ImapServer

IMAP Server module for Nodejs
81 stars 17 forks source link

Allow plugins to provide dependencies #6

Open JeanSebTr opened 11 years ago

JeanSebTr commented 11 years ago

Will be usefull for #3 which depends at least of #2

Kind of :

plugin.initialize = function(opts) {
   return [
      {plugin: require('./subplugin1.js'), opts: opts.config1},
      require('./subplugin2.js')
   ];
};