aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2008-02-08 18:39:30 +0000
committerAdam Frisby2008-02-08 18:39:30 +0000
commita50a26f812757f697b10bf73e14fcff16195f880 (patch)
tree0ac70de63047d7821d91e5a26d868f08a54f5dbf
parentupdate eol-style (diff)
downloadopensim-SC_OLD-a50a26f812757f697b10bf73e14fcff16195f880.zip
opensim-SC_OLD-a50a26f812757f697b10bf73e14fcff16195f880.tar.gz
opensim-SC_OLD-a50a26f812757f697b10bf73e14fcff16195f880.tar.bz2
opensim-SC_OLD-a50a26f812757f697b10bf73e14fcff16195f880.tar.xz
* Dun-dun-dun. JavaScript scripting now actually works. :)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs5
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;