Approved.

On Mar 12, 2006, at 7:31 PM, Max Carlson wrote:

> Change 40493 by [EMAIL PROTECTED] on 2006/03/12 19:29:58 *pending*
>
>         Summary:  Fix doc bugs
>
>         New Features:
>
>         Bugs Fixed:
>
>         Technical Reviewer:  Jim
>         QA Reviewer:  (pending)
>         Doc Reviewer:  (pending)
>
>         Documentation:
>
>         Release Notes:
>
>         Details:
>
>         Tests:
>
> Affected files ...
>
> ... //depot/lps-dev/WEB-INF/lps/lfc/views/LzDrawView.as#18 edit
>
>
> Differences ...
>
> ==== //depot/lps-dev/WEB-INF/lps/lfc/views/LzDrawView.as#18 - c: 
> \Laszlo\lps-dev\
> WEB-INF\lps\lfc\views\LzDrawView.as ====
> 494a495,519
> > //------------------------------------------------------------------ 
> ----------
> -
> > // Convert a css color string to an integer.  This recognizes only
> > // '#rgb', '#rrggbb', and the color names that have been defined in
> > // the global namespace ('red', 'green', 'blue', etc.)
> > //
> > // @param value: Color value to convert
> > //------------------------------------------------------------------ 
> ----------
> -
> > LzDrawView.prototype.cssColorToLong = function(value) {
> >       if (typeof value != 'string') return value;
> >     if (value.charAt(0) == '#') {
> >         var n = parseInt(value.slice(1), 16);
> >         switch (!isNaN(n) && value.length-1) {
> >         case 3:
> >             return ((n & 0xf00) << 8 | (n & 0xf0) << 4 | (n &  
> 0xf)) * 17;
> >         case 6:
> >             return n;
> >         default:
> >             _root.Debug.warn('invalid color: ' + value);
> >         }
> >     }
> >     if (typeof eval(value) == 'number')
> >         return eval(value);
> >       _root.Debug.warn('unknown color format: ' + value);
> >     return 0;
> > }
> 495a521,522
> >
> >
> 537,558d563
> <
> < // Convert a css color string to an integer.  This recognizes only
> < // '#rgb', '#rrggbb', and the color names that have been defined in
> < // the global namespace ('red', 'green', 'blue', etc.)
> < LzDrawView.prototype.cssColorToLong = function(value) {
> <       if (typeof value != 'string') return value;
> <     if (value.charAt(0) == '#') {
> <         var n = parseInt(value.slice(1), 16);
> <         switch (!isNaN(n) && value.length-1) {
> <         case 3:
> <             return ((n & 0xf00) << 8 | (n & 0xf0) << 4 | (n &  
> 0xf)) * 17;
> <         case 6:
> <             return n;
> <         default:
> <             Debug.warn('invalid color: ' + value);
> <         }
> <     }
> <     if (typeof eval(value) == 'number')
> <         return eval(value);
> <       _root.Debug.warn('unknown color format: ' + value);
> <     return 0;
> < }
> <changeset-40493.zip>

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to