Author: hqm
Date: 2007-01-24 11:03:41 -0800 (Wed, 24 Jan 2007)
New Revision: 3516
Modified:
openlaszlo/branches/legals/lps/utils/rhino.js
Log:
Change 20070124-hqm-2 by [EMAIL PROTECTED] on 2007-01-24 11:34:54 EST
in /cygdrive/c/users/hqm/openlaszlo/legals4/lps/utils
Summary: add declaration for "self" so that lztest doesn't blow up
in rhino
New Features:
Bugs Fixed: error reported by ben in lztest-node-initsequence.lzx
running in rhino
Technical Reviewer: ben (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
ant lztest works now
Modified: openlaszlo/branches/legals/lps/utils/rhino.js
===================================================================
--- openlaszlo/branches/legals/lps/utils/rhino.js 2007-01-24 18:56:31 UTC
(rev 3515)
+++ openlaszlo/branches/legals/lps/utils/rhino.js 2007-01-24 19:03:41 UTC
(rev 3516)
@@ -1,5 +1,5 @@
/* J_LZ_COPYRIGHT_BEGIN *******************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* J_LZ_COPYRIGHT_END *********************************************************/
@@ -12,6 +12,9 @@
// Fake the browser DOM
// Laszlo app expects to run in an iframe
window = this;
+
+self = window;
+
// And share a parent with the debugger
window.parent = {};
// document.write is missing from BUFakeDom, DHTML Sprite wants this
@@ -68,3 +71,6 @@
lzjumReportWriter.write( s );
}
+
+
+
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins