On Sun, Apr 22, 2012 at 9:11 PM, Dominic Tarr <[email protected]> wrote:
> browserify has _by far_ the most test coverage. I know from my own dabbling
> in the problem that there are _alot_ of edgecases.

I confidently say that OneJS is a well-tested project that faced
_more_ edge-cases already and solved those issues. And I think
browserify has some issues which can't be considered as edge-cases,
e.g; polluting global scope, a lot.

To have an idea of the accuracy of OneJS, check the following examples;
- MultiplayerChess.com built with OneJS: http://multiplayerchess.com/mpc.js
- ExpressJS built with OneJS: https://gist.github.com/2415048

ExpressJS is not a client-side project but it's a good example project
to see the accuracy of the implementations of CommonJS specs. And I
get following error when I try to build it with browserify;

> ./node_modules/.bin/browserify index.js -o express.js
Expressions in require() statements:
    require("./middleware/"+name)
Expressions in require() statements:
    require(this.engine)
SyntaxError: 'return' outside of function
  at line 22:32 in expression:

  if (res._hasConnectPatch) return;
    at 
/home/azer/dev/express/node_modules/browserify/node_modules/deputy/node_modules/detective/node_modules/burrito/index.js:16:17
    at 
/home/azer/dev/express/node_modules/browserify/node_modules/deputy/node_modules/detective/node_modules/burrito/index.js:41:11
    at Function.find
(/home/azer/dev/express/node_modules/browserify/node_modules/deputy/node_modules/detective/index.js:15:5)
    at Function.find
(/home/azer/dev/express/node_modules/browserify/node_modules/deputy/index.js:38:27)
    at Function.<anonymous>
(/home/azer/dev/express/node_modules/browserify/lib/wrap.js:435:39)
    at Function.require
(/home/azer/dev/express/node_modules/browserify/index.js:155:28)
    at /home/azer/dev/express/node_modules/browserify/lib/wrap.js:458:14
    at Array.forEach (native)
    at Function.<anonymous>
(/home/azer/dev/express/node_modules/browserify/lib/wrap.js:457:27)
    at Function.require
(/home/azer/dev/express/node_modules/browserify/index.js:155:28)



Best,

Azer

>
> https://github.com/substack/node-browserify/tree/master/test
>
> I just use browserify now
>
>
> On Mon, Apr 23, 2012 at 6:07 AM, Mark Hahn <[email protected]> wrote:
>>
>> >  OneJS moves the revolution of NPM one step forward and makes it
>> > available for client-side projects!
>>
>> Does this mean you can load a module directly from the npm registry into
>> the client to run? Can you also query the registry?
>>
>> --
>> 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
>
>
> --
> 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

-- 
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

Reply via email to