mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
* Dun-dun-dun. JavaScript scripting now actually works. :)
This commit is contained in:
@@ -292,9 +292,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
||||
case enumCompileType.js:
|
||||
compileScript = String.Empty +
|
||||
"import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" +
|
||||
"namespace SecondLife { " +
|
||||
"class Script : OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" +
|
||||
@"public Script() { } " +
|
||||
"package SecondLife {\r\n" +
|
||||
"class Script extends OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" +
|
||||
compileScript +
|
||||
"} }\r\n";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user