Hi Erich,

> Hi,
>
> then new DemoBrowser is very cool!
> Now with source code view, ideal to learn.

Thanks, glad you like it :-)

>
> I'm using a Windows environment :-(
> and the tool/gendata.py creates demodata.js with caridge-returns (from
> the demoDescription).
> I putted a replace "\r" to "" into gendata.py, then it works.
> (patch attached).

thanks for pointing that out. Are you using cygwin on Windows? With DOS
line endings?

I applied a patch for the issue, albeit slightly different from what you
suggested, using Python's universal newline support. Please give it a try.

=Thomas


>
> Erich
>
>
> ------------------------------------------------------------------------
>
> Index: 
> S:/entw/qooxdoo/qooxdoo/frontend/application/demobrowser/tool/gendata.py
> ===================================================================
> --- S:/entw/qooxdoo/qooxdoo/frontend/application/demobrowser/tool/gendata.py  
> (revision 8669)
> +++ S:/entw/qooxdoo/qooxdoo/frontend/application/demobrowser/tool/gendata.py  
> (working copy)
> @@ -102,6 +102,7 @@
>          if m:
>              desc = m.group(1)
>              desc = re.sub("\n"," ",desc)
> +            desc = re.sub("\r","",desc)
>              desc = desc.strip()
>      else:
>          print "Failed to open filepath: ", filepath
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to