diff options
author | Adam Frisby | 2008-02-08 18:39:30 +0000 |
---|---|---|
committer | Adam Frisby | 2008-02-08 18:39:30 +0000 |
commit | a50a26f812757f697b10bf73e14fcff16195f880 (patch) | |
tree | 0ac70de63047d7821d91e5a26d868f08a54f5dbf /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL | |
parent | update eol-style (diff) | |
download | opensim-SC-a50a26f812757f697b10bf73e14fcff16195f880.zip opensim-SC-a50a26f812757f697b10bf73e14fcff16195f880.tar.gz opensim-SC-a50a26f812757f697b10bf73e14fcff16195f880.tar.bz2 opensim-SC-a50a26f812757f697b10bf73e14fcff16195f880.tar.xz |
* Dun-dun-dun. JavaScript scripting now actually works. :)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index ae60a47..d44b141 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -292,9 +292,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
292 | case enumCompileType.js: | 292 | case enumCompileType.js: |
293 | compileScript = String.Empty + | 293 | compileScript = String.Empty + |
294 | "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" + | 294 | "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" + |
295 | "namespace SecondLife { " + | 295 | "package SecondLife {\r\n" + |
296 | "class Script : OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + | 296 | "class Script extends OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + |
297 | @"public Script() { } " + | ||
298 | compileScript + | 297 | compileScript + |
299 | "} }\r\n"; | 298 | "} }\r\n"; |
300 | break; | 299 | break; |