Just simpler, smaller. It's only one file about 1.4kb. Require.js and sea.js target the client side javascript moularization, but do not access how to make module to be used in both side. Browserify traverses the ast of javascript and comile to a new generated file for client side use. So maybe there are some inconveniences with debug when developping.
在 2013年12月4日星期三UTC+8上午8时18分48秒,ryandesign写道: > > > On Dec 3, 2013, at 16:31, Simeon Chaos wrote: > > > twoside.js can make module to be used in both server side and client > side. > > Just ·npm install twoside·, and then copy twoside.js to your folder. > > See https://github.com/chaosim/twoside and > https://npmjs.org/package/twoside for more information. > > Perhaps you could explain how this differs from the existing solutions, > why one would use this instead of the existing solutions, etc. > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
