Once you are happy with them, I think they'd fit very well into the
incubator, thanks for volunteering! Feel free to send them to me as the
reviewer once you are happy.
FYI: the array class would probably land in the following
package:com.google.gen2.collection.client, as we already have a JsStringMap
under development there.
Cheers,
Emily
On Mon, Sep 15, 2008 at 5:46 PM, Scott Blum <[EMAIL PROTECTED]> wrote:
> Actually, incubator might be a great place for them (as well as the
> submission for issue #1727).
>
>
> On Mon, Sep 15, 2008 at 5:23 PM, Folke Behrens <[EMAIL PROTECTED]> wrote:
>
>> Hi
>>
>> With all the conversions to JSOs/overlay types going on I was
>> wondering if it makes sense to provide implementions of the core
>> JavaScript objects as well. I've already submitted RegExp (issue
>> 1727)? (Granted, Math and Date are pretty similar to their Java
>> siblings but having them around too only hurts compile-time and makes
>> the JSO collection complete.)
>>
>> GWT's core module has several lightweight JSOs for arrays, why not
>> take it further and provide classes for most of JavaScript's global
>> objects, and instead of using big JSNI methods in java.* classes we
>> use the JSOs and rewrite the methods completely in Java. There's a lot
>> of API compatibility code written inside JSNI methods that should
>> better be written in real Java. Also, private helper methods like
>> java.lang.Math.round0() could be moved to JSMath.round().
>>
>> Well, I think this extra layer will lead to smaller and faster
>> applications. People coming from other JavaScript frameworks will feel
>> more comfortable if they can slice() and splice() their arrays right
>> away.
>>
>> The attached ZIP contains JSRegExp and JSArray<E>. Is this incubator
>> material? (They're far from finished.)
>>
>> Folke
>>
>>
>>
>
> >
>
--
"There are only 10 types of people in the world: Those who understand
binary, and those who don't"
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---