[Laszlo-checkins] r8018 - openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/swf9

hqm@openlaszlo.org hqm at openlaszlo.org
Wed Feb 13 13:06:19 PST 2008


Author: hqm
Date: 2008-02-13 13:06:17 -0800 (Wed, 13 Feb 2008)
New Revision: 8018

Modified:
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as
Log:
remove hardcoded URL from debug eval loader

Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as	2008-02-13 20:42:46 UTC (rev 8017)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as	2008-02-13 21:06:17 UTC (rev 8018)
@@ -115,7 +115,6 @@
         //DebugExec(e.target.content).doit();
     }
 
-    static var DEBUG_LPS_SERVER_PATH:String = "http://127.0.0.1:8080/devildog/";
 
     function consoleInputHandler (event:KeyboardEvent ){
         if (event.charCode == Keyboard.ENTER) {
@@ -129,7 +128,7 @@
             // Send EVAL request to LPS server
             // It doesn't matter what path/filename we use, as long as it has ".lzx" suffix, so it is
             // handled by the LPS. The lzt=eval causes the request to be served by the EVAL Responder.
-            var url = DEBUG_LPS_SERVER_PATH + "hello.lzx?lzr=swf9&lz_load=false&lzt=eval&lz_script=" + encodeURIComponent(expr)+"&lzbc=" +(new Date()).getTime();
+            var url = "hello.lzx?lzr=swf9&lz_load=false&lzt=eval&lz_script=" + encodeURIComponent(expr)+"&lzbc=" +(new Date()).getTime();
             debugloader.load(new URLRequest(url),
                              new LoaderContext(false,
                                                new ApplicationDomain(ApplicationDomain.currentDomain)));



More information about the Laszlo-checkins mailing list