This looks like a typo: + var oncontext = LzDeclarednEvent; [EMAIL PROTECTED] wrote: > Author: ptw > Date: 2007-11-06 20:49:13 -0800 (Tue, 06 Nov 2007) > New Revision: 7178 > > Modified: > openlaszlo/trunk/lps/components/extensions/drawview.lzx > openlaszlo/trunk/lps/components/utils/replicator/replicator.lzx > openlaszlo/trunk/lps/components/utils/traits/cssable.lzx > Log: > Change 20071106-ptw-q by [EMAIL PROTECTED] on 2007-11-06 23:31:17 EST > in /Users/ptw/OpenLaszlo/ringding-2 > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Henry found DeclareEvent in components > > Bugs Fixed: > LPP-4997 'DHTML: text.format() doesn't work unless debugging enabled.' > > Technical Reviewer: [EMAIL PROTECTED] (pending) > QA Reviewer: [EMAIL PROTECTED] (pending) > > Details: > M-x tags-query-replace DeclareEvent(prototype, *['"]\([^'"]+\)['"] > *) *; -> var \1 = LzDeclaredEvent; > > Tests: > find . -exec grep DeclareEvent {} \; -print > > > > Modified: openlaszlo/trunk/lps/components/extensions/drawview.lzx > =================================================================== > --- openlaszlo/trunk/lps/components/extensions/drawview.lzx 2007-11-07 > 04:21:20 UTC (rev 7177) > +++ openlaszlo/trunk/lps/components/extensions/drawview.lzx 2007-11-07 > 04:49:13 UTC (rev 7178) > @@ -268,7 +268,7 @@ > var cachebitmap = true; > var _colorcache = {}; > > - DeclareEvent(prototype, 'oncontext'); > + var oncontext = LzDeclarednEvent; > > function construct(parent,args) { > super.construct(parent, args); > @@ -561,7 +561,7 @@ > var __LINETO_OP = 1; > var __QCURVE_OP = 2; > > - DeclareEvent(prototype, 'oncontext'); > + var oncontext = LzDeclaredEvent; > > function construct(parent,args) { > args['width'] = args['width'] > -1 ? args.width : null; > > Modified: openlaszlo/trunk/lps/components/utils/replicator/replicator.lzx > =================================================================== > --- openlaszlo/trunk/lps/components/utils/replicator/replicator.lzx > 2007-11-07 04:21:20 UTC (rev 7177) > +++ openlaszlo/trunk/lps/components/utils/replicator/replicator.lzx > 2007-11-07 04:49:13 UTC (rev 7178) > @@ -171,7 +171,7 @@ > } > } > > - DeclareEvent(prototype, 'onnodes'); > + var onnodes = LzDeclaredEvent; > > /** > * @access private > > Modified: openlaszlo/trunk/lps/components/utils/traits/cssable.lzx > =================================================================== > --- openlaszlo/trunk/lps/components/utils/traits/cssable.lzx 2007-11-07 > 04:21:20 UTC (rev 7177) > +++ openlaszlo/trunk/lps/components/utils/traits/cssable.lzx 2007-11-07 > 04:49:13 UTC (rev 7178) > @@ -7,9 +7,9 @@ > function initialize () { > if (this['_applyCSS']) this._applyCSS(); > } > -DeclareEvent(prototype, 'cssPropertyMap' ); > -DeclareEvent(prototype, 'cssStyle' ); > -DeclareEvent(prototype, 'fontcolor' ); > +var cssPropertyMap = LzDeclaredEvent; > +var cssStyle = LzDeclaredEvent; > +var fontcolor = LzDeclaredEvent; > > var cssPropertyMap = null; > var cssStyle = null; > > > _______________________________________________ > Laszlo-checkins mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins
-- Regards, Max Carlson OpenLaszlo.org _______________________________________________ Laszlo-checkins mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins
