Btw, isn't there a site for sharing such small extensions for prototype? I
have lots of them, and I understand most will never make it into prototype
core library.
> I'd like to see it make it into the framework but if I have to add it to
> extensions.js (my 'extra' methods for prototype) then its not the end of
> the
> world.
>
>
> On Jan 30, 2008 1:01 PM, Mislav Marohnić <[EMAIL PROTECTED]>
> wrote:
>
>> On Jan 30, 2008 12:01 AM, Andrew Dupont <[EMAIL PROTECTED]> wrote:
>>
>> >
>> > In ECMAScript 4, parseInt and parseFloat are becoming static methods
>> > on Number, not on String (i.e., Number.parseInt("3")). I could more
>> > easily see adding String#toNumber, but it's not a must-have for me.
>> > What do others think?
>>
>>
>> I don't care very much either, that's why I think it's not needed. We
>> have
>> just witnessed how easy it is to add, then why don't leave it to the
>> users
>> who use parseInt/Float extensively? We only use it a couple of times
>> within
>> the framework.
>>
>>
>> >
>>
>
> >
--
arty ( http://arty.name )
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype: Core" 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/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---