Is there a convention for publishing modules that won't run on vanilla
latest node but instead need --harmony flag to be set? I didn't see
anything in package.json that would serve this function.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mail
In bin scripts, do '#!/usr/bin/env node --harmony_whatever' as your shebang
line. In library modules, test and throw a useful error right away.
And as others have said, document it in the readme.
On Saturday, December 29, 2012, Tristan Slominski wrote:
> That makes sense.. and as you say, it is
Thank you.
On Sunday, December 30, 2012 7:28:55 AM UTC-6, Isaac Schlueter wrote:
>
> In bin scripts, do '#!/usr/bin/env node --harmony_whatever' as yourshebang
> line. In library modules, test and throw a useful error right away.
>
> And as others have said, document it in the readme.
>
> On Sa
On Sunday, December 30, 2012, Tristan Slominski wrote:
> RE: "No one should use --harmony today anyway.."
>
> I didn't see block-scoped "let" in es6-shim (pretty sure that's impossible
> to shim without compilation, right?), so although you make a good case for
> some things, availability of "let"
On Sunday, December 30, 2012 4:40:19 PM UTC-5, Rick Waldron wrote:
>
> On Sunday, December 30, 2012, Tristan Slominski wrote:
>
>> RE: "No one should use --harmony today anyway.."
>>
>> I didn't see block-scoped "let" in es6-shim (pretty sure that's
>> impossible to shim without compilation, righ
You'll have better success with "node --harmony --use-strict".
On Monday, December 31, 2012 8:58:37 AM UTC-6, Domenic Denicola wrote:
>
> On Sunday, December 30, 2012 4:40:19 PM UTC-5, Rick Waldron wrote:
>
>>
>> On Sunday, December 30, 2012, Tristan Slominski wrote:
>>
>>> RE: "No one should use
On Monday, December 31, 2012, Domenic Denicola wrote:
> On Sunday, December 30, 2012 4:40:19 PM UTC-5, Rick Waldron wrote:
>
>>
>> On Sunday, December 30, 2012, Tristan Slominski wrote:
>>
>>> RE: "No one should use --harmony today anyway.."
>>>
>>> I didn't see block-scoped "let" in es6-shim (pre
Has anyone found problems with weakmap? My application uses it and it
works so far for me. It would be a serious problem if I couldn't use it.
On Mon, Dec 31, 2012 at 8:39 AM, Rick Waldron wrote:
>
>
> On Monday, December 31, 2012, Domenic Denicola wrote:
>
>> On Sunday, December 30, 2012 4:40:
On Mon, Dec 31, 2012 at 12:43 PM, Mark Hahn wrote:
> Has anyone found problems with weakmap? My application uses it and it
> works so far for me. It would be a serious problem if I couldn't use it.
>
>
WeakMap is a feature of --harmony that is almost API complete (missing the
constructor initial
Apparently the reason "node --harmony --use-strict" works is that v8 enters
"extended mode" if both flags are used.
from: https://groups.google.com/d/topic/v8-dev/1vmieHKNihs/discussion
"This CL introduces a third mode next to the non-strict
(henceforth called 'classic mode') and 'strict mode'
10 matches
Mail list logo