[Laszlo-checkins] r9351 - openlaszlo/trunk/lps/components/extensions
bargull@openlaszlo.org
bargull at openlaszlo.org
Wed May 28 09:34:42 PDT 2008
Author: bargull
Date: 2008-05-28 09:34:38 -0700 (Wed, 28 May 2008)
New Revision: 9351
Modified:
openlaszlo/trunk/lps/components/extensions/drawview.lzx
Log:
Change 20080524-bargull-Ash by bargull at dell--p4--2-53 on 2008-05-24 21:29:14
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: drawview updated to "lz"-namespace
New Features:
Bugs Fixed: LPP-6042
Technical Reviewer: ptw
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Updated drawview to use the "lz"-pseudonamespace.
Added entry for dhtml-drawview in "lz", just to comply with the swf-version, but actually it wasn't necessary, neither for dhtml nor for swf. Why?
Tests:
Modified: openlaszlo/trunk/lps/components/extensions/drawview.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/drawview.lzx 2008-05-28 15:06:52 UTC (rev 9350)
+++ openlaszlo/trunk/lps/components/extensions/drawview.lzx 2008-05-28 16:34:38 UTC (rev 9351)
@@ -521,7 +521,7 @@
this._fillStyle = null;
this._strokeStyle = null;
this._globalAlpha = null;
- if (Lz.__BrowserDetect.isIE) {
+ if (lz.embed.browser.isIE) {
LzSprite.prototype.__discardElement(this.__LZcanvas);
} else {
this.__LZcanvas.setAttribute('width', width);
@@ -544,7 +544,7 @@
var div = this.getMCRef();
div.appendChild(this.__LZcanvas);
- if (Lz.__BrowserDetect.isIE) {
+ if (lz.embed.browser.isIE) {
// IE can take a while to start up.
this._hidden = false;
this.maxTries = 10;
@@ -745,7 +745,8 @@
function createRadialGradient(x0, y0, r0, x1, y1, r1) {
return new LzCanvasGradient(this.context.createRadialGradient(x0, y0, r0, x1, y1, r1));
}
- }
+ } // End of drawview
+ lz[$lzc$class_drawview.tagname] = $lzc$class_drawview;
/**
* <p>
@@ -1123,7 +1124,7 @@
return g;
}
} // End of drawview
- ConstructorMap[$lzc$class_drawview.tagname] = $lzc$class_drawview;
+ lz[$lzc$class_drawview.tagname] = $lzc$class_drawview;
/**
* <p>
More information about the Laszlo-checkins
mailing list