Difference between revisions of "JavaScript test OXP"

From Elite Wiki
m
m (Category cleanup for OXPs)
Line 5: Line 5:
 
[[Media:JavaScript-test.oxp.zip|Download]] (6 KiB)
 
[[Media:JavaScript-test.oxp.zip|Download]] (6 KiB)
   
[[Category:Oolite scripting]] [[Category:Demo OXPs]]
+
[[Category:Oolite scripting]]
  +
{{demo-OXP}}

Revision as of 22:21, 29 September 2008

The JavaScript test OXP is an OXP which demonstrates scripting Oolite with JavaScript. It implements every event handler supported by Oolite 1.68. It logs a message for every event, providing pertinent information and illustrating exactly when events occur.

Version 2.0.1 addresses several bugs due to late changes in the JavaScript interface, and adds a test suite for the Vector class (disabled in the OXP to work with Oolite 1.68, which didn’t implement Vector).

Download (6 KiB)