From a50a26f812757f697b10bf73e14fcff16195f880 Mon Sep 17 00:00:00 2001
From: Adam Frisby
Date: Fri, 8 Feb 2008 18:39:30 +0000
Subject: * Dun-dun-dun. JavaScript scripting now actually works. :)

---
 OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 5 ++---
 1 file 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
                 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;
-- 
cgit v1.1