Author: ben
Date: 2007-11-14 15:03:41 -0800 (Wed, 14 Nov 2007)
New Revision: 7272
Modified:
openlaszlo/trunk/lps/utils/rhino.js
Log:
Change 20071114-ben-H by [EMAIL PROTECTED] on 2007-11-14 14:36:29 PST
in /Users/ben/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix the smokecheck by adding a stub for Lz.attachEventHandler
Technical Reviewer: max (verbal)
QA Reviewer: mkratt (pending)
Documentation:
The "lztest" target executes the test code inside a fake browser
environment, which is defined in lps/utils/rhino.js. The fake
browser environment must define enough of an API that it fools the
LFC into thinking it's a real browser. This change adds a stub for
the Lz.attachEventHandler() function.
Release Notes:
Details:
Tests:
ant lztest is successful
Modified: openlaszlo/trunk/lps/utils/rhino.js
===================================================================
--- openlaszlo/trunk/lps/utils/rhino.js 2007-11-14 22:38:52 UTC (rev 7271)
+++ openlaszlo/trunk/lps/utils/rhino.js 2007-11-14 23:03:41 UTC (rev 7272)
@@ -40,7 +40,12 @@
appVersion: "1.5R3",
vendor: "openlaszlo",
platform: "unknown"}; // This is expected to be in the top
level namespace.
+
+Lz.attachEventHandler = function () {
+ // Just a stub
+}
+
// Load the LFC!
load("lps/includes/lfc/LFCdhtml-debug.js");
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins