Thanks for this - useful to know.

Simon


Quoting Robert Hanson <[email protected]>:

> The original question was related to jsmol - does jsmol add some
>>> properties to the javascript array object?
>>>
>>
>
> Yes it does. Most importantly, it implements several types in ALL browsers:
> Float64Array and Int32Array
>
>       Clazz.extendedObjectMethods = [
>               "equals", "hashCode", "getClass", "clone", "finalize",
> "notify", "notifyAll", "wait", "to$tring", "toString"
>       ];
>
>       for (var i = 0; i < Clazz.extendedObjectMethods.length; i++) {
>           var p = Clazz.extendedObjectMethods[i];
>           Array.prototype[p] = JavaObject.prototype[p];
>       }
>
> So all those are defined, just as for any  standard Java object.
>
> Bob
>



------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to