New Feature to JS 1.7

P T Withington ptw at pobox.com
Thu Sep 27 05:54:50 PDT 2007


I am saying that the OpenLaszlo framework implements a class system  
on top of JS1 (as do many other AJAX frameworks).  I don't expect JS1  
to ever support this natively.  As you wrote, that is what JS2 is for.

On 2007-09-27, at 08:33 EDT, <Eugen.Konkov at aldec.com> wrote:

> Sorry for my English
>> We implement `nextMethod` with annotation on the method function  
>> objects
> When will you implement 'nextMethod'?
>
> ----- Original Message -----
> From: "P T Withington" <ptw at pobox.com>
> To: <Eugen.Konkov at aldec.comEugen.Konkov@aldec.com>
> Cc: "Brendan Eich" <brendan at mozilla.org>; <Es4-discuss at mozilla.org>
> Sent: Wednesday, September 26, 2007 7:10 PM
> Subject: Re: New Feature to JS 1.7
>
>
>> Your best bet for js1+ is to use one of the many class-like
>> frameworks, prototype, dojo, or my favorite, [OpenLaszlo](http://
>> pt.withy.org/ptalk/archives/2006/05/circles_and_arrows.html).  We
>> implement `nextMethod` with annotation on the method function  
>> objects.
>>
>> On 2007-09-25, at 02:33 EDT, <Eugen.Konkov at aldec.com>
>> <Eugen.Konkov at aldec.com> wrote:
>>
>>> As js4 will support OOP natively, this feature will useless for it
>>> but for js1.7 it will be usefull.
>>> In js1.7 I can not call next function from prototype chain
>>> For example:
>>> function A(){};
>>> A.prototype.f1= function(){};
>>> function B(){};
>>> B.prototype= new A(){};
>>> B.prototype.f1= function(){ /*How call f1 from prototype A?*/}
>>> There will be usefull to have next property:
>>>
>>> B.prototype.f1= function() { arguments.inherit( this, arguments ); /
>>> *use full feature to call next function in prototype chain */ };
>>>   ----- Original Message -----
>>>   From: Brendan Eich
>>>   To: <Eugen.Konkov at aldec.com>
>>>   Cc: Es4-discuss at mozilla.org
>>>   Sent: Monday, September 24, 2007 7:29 PM
>>>   Subject: Re: New Feature to JS 1.7
>>>
>>>
>>>   JS1.7 shipped in Firefox 2 and it is "done". This list is for
>>> discussion of ECMA-262 Edition 4 (ECMAScript 4, es4) features and
>>> design decisions. See http://www.ecmascript.org/.
>>>
>>>
>>>   /be
>>>
>>>
>>>   On Sep 24, 2007, at 12:18 AM, <Eugen.Konkov at aldec.com>
>>> <Eugen.Konkov at aldec.com> wrote:
>>>
>>>
>>>     Hello
>>>     Where can I post request for new feature to JavaScript 1.7?
>>>     _______________________________________________
>>>     Es4-discuss mailing list
>>>     Es4-discuss at mozilla.org
>>>     https://mail.mozilla.org/listinfo/es4-discuss
>>>
>>>
>>>
>>>
>>>   __________ NOD32 2547 (20070924) Information __________
>>>
>>>   This message was checked by NOD32 antivirus system.
>>>   http://www.eset.com
>>> _______________________________________________
>>> Es4-discuss mailing list
>>> Es4-discuss at mozilla.org
>>> https://mail.mozilla.org/listinfo/es4-discuss
>>
>>
>> __________ NOD32 2553 (20070926) Information __________
>>
>> This message was checked by NOD32 antivirus system.
>> http://www.eset.com
>>
>>
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss




More information about the Es4-discuss mailing list