Author: ben
Date: 2007-09-12 12:52:43 -0700 (Wed, 12 Sep 2007)
New Revision: 6439
Modified:
openlaszlo/branches/legals/lps/utils/rhino.js
Log:
Change 20070912-ben-Y by [EMAIL PROTECTED] on 2007-09-12 12:49:46 PDT
in /Users/ben/src/svn/openlaszlo/branches/legals
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Fix lztest in rhino by adding stubs for LzMousewheelKernel
New Features:
Bugs Fixed: LPP-4129 "ant runlzunit" fails with "LzMousewheelKernel" is not
defined.
Technical Reviewer: max (pending)
Documentation:
r6357 introduced a dependency on LzMousewheelKernel.setCallback. That
was not defined in the rhino wrapper, so the smokecheck broke. This
change adds a stub of the missing object to the rhino wrapper.
ant lztest now passes.
Tests:
ant lztest passes
Modified: openlaszlo/branches/legals/lps/utils/rhino.js
===================================================================
--- openlaszlo/branches/legals/lps/utils/rhino.js 2007-09-12 19:52:00 UTC
(rev 6438)
+++ openlaszlo/branches/legals/lps/utils/rhino.js 2007-09-12 19:52:43 UTC
(rev 6439)
@@ -9,7 +9,10 @@
// some setup to fake what the html embed does
lzOptions = {ServerRoot: '/legals'};
Lz = {__propcache: { appenddiv: document.createElement() } };
-
+LzMousewheelKernel = {
+ setCallback: function() {}
+
+};
// Fake the browser DOM
// Laszlo app expects to run in an iframe
window = this;
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins