ECMAScript is the standardized language that, as far as I know, tried to make JScript and JavaScript into interoperable languages.
I do not know enough about the language differences to give a meaningful answer on how they differ. However, and this is true for ECMAScript as well, there are libraries or global objects / functions which are not part of the standard and that may (or not) be available depending on the implementation.
In the Batik context, I am not sure what you mean when you say Batik freaks out on 'window'. This is a global object we support in ECMAScript and there are samples in samples/tests/spec/scripting that use it. Could you send an example of what you see go wrong?
Regards, Vincent.
D. DeCoudras wrote:
Thanks Vincent. I also found out from experimentation that removing the type attribute altogether also works with Batik (I.e., <script> [CDATA ...). Are there any good references on the differences between ecmascript and javascript? For instance, in javascript I can refer to the global "window" but Batik freaks out if it sees the same javascript reference, so I had to remove it. I hope its not Pandora's box with respect to the differences between ecmascript and javascript. After all, our collective interest in the Batik community is to get progress SVG and get it in the hands of many.
Best regards,
-Don
From: Vincent Hardy <[EMAIL PROTECTED]> Reply-To: "Batik Users" <[EMAIL PROTECTED]> To: Batik Users <[EMAIL PROTECTED]> Subject: Re: Why does Squiggle complain about javascript? Date: Thu, 10 Jul 2003 10:12:59 +0200
Hello,
The type should be "text/ecmascript" not "text/javascript".
There are multiple examples of scripting using ECMAScript in the samples/tests/spec/scripting directory.
Regards, Vincent.
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
