[Laszlo-checkins] r13701 - openlaszlo/trunk/lps/utils

hqm@openlaszlo.org hqm at openlaszlo.org
Thu Apr 16 14:32:59 PDT 2009


Author: hqm
Date: 2009-04-16 14:32:58 -0700 (Thu, 16 Apr 2009)
New Revision: 13701

Modified:
   openlaszlo/trunk/lps/utils/rhino.js
Log:
Change 20090416-hqm-U by hqm at badtzmaru.home on 2009-04-16 15:54:51 EDT
    in /Users/hqm/openlaszlo/trunk5
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix ant lztest warnings

New Features:

Bugs Fixed: LPP-8061

Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

+ added properties to give canvas root sprite  a width and height
    

Tests:

ant lztest runs with no warnings



Modified: openlaszlo/trunk/lps/utils/rhino.js
===================================================================
--- openlaszlo/trunk/lps/utils/rhino.js	2009-04-16 19:57:32 UTC (rev 13700)
+++ openlaszlo/trunk/lps/utils/rhino.js	2009-04-16 21:32:58 UTC (rev 13701)
@@ -11,6 +11,12 @@
 lz.embed = {__propcache: { appenddiv: document.createElement() },
             options: {}};
 
+
+//set up canvas width/height
+lz.embed.__propcache.appenddiv.offsetWidth = 800;
+lz.embed.__propcache.appenddiv.offsetHeight = 600;
+
+
 // Fake the browser DOM
 // Laszlo app expects to run in an iframe
 window = this;



More information about the Laszlo-checkins mailing list