[Laszlo-checkins] r7178 - in openlaszlo/trunk/lps/components: extensions utils/replicator utils/traits

Max Carlson max at openlaszlo.org
Tue Nov 6 22:26:18 PST 2007


This looks like a typo:
+            var oncontext = LzDeclarednEvent;

ptw at openlaszlo.org 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 ptw at dueling-banjos.local 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: henry.minsky at gmail.com (pending)
> QA Reviewer: a.bargull at intensis.de (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
> Laszlo-checkins at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-checkins mailing list