4 ms·
although onejs and browserify tries to accomplish similar tasks, onejs has some noticeable implementation and concept differences (e.g browserify pollutes globa
by combataircraft 14y ago
although onejs and browserify tries to accomplish similar tasks, onejs has some noticeable implementation and concept differences (e.g browserify pollutes global scope a lot and it expects you to provide it a main module instead of a package manifest)
here is the output comparison of onejs and browserify:
onejs: https://gist.github.com/2398843 https://gist.github.com/2398843
browserify: https://gist.github.com/2398824 https://gist.github.com/2398824
and here is a real world example of onejs;
http://multiplayerchess.com/mpc.js http://multiplayerchess.com/mpc.js
The second thing is, onejs lets us use the core NodeJS library, too. It doesn't contain it by default but you can install the available modules by typing; "one install assert path util url"