On Jun 23, 2012, at 21:04, Angelo Chen wrote: > I use swig in my node app, and I know swig uses underscore, do i have > to npm install underscore, or just use the one being used by swig?
Install your own copy of underscore and use that. Do not rely on internal details of modules that might change in the future (i.e. do not rely on the fact that swig uses underscore today, because it might not do so tomorrow, or it might change to a different version of underscore with which your code is not compatible). -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
