[RCD] Newlines in json exec string?

A.L.E.C alec at alec.pl
Thu Oct 21 09:33:35 CEST 2010

On 21.10.2010 09:13, Brandon Davidson wrote:
> Just out of curiosity, are the newlines between command strings generated by
> get_js_commands required? It appears that when the final string is passed
> into json_serialize they're turned back into '\n' before being sent which
> seems to make them somewhat unnecessary. They might as well just be a single
> space, or even nothing if you want to be efficient.

These are for better look of response in browser console. Maybe we could
skip them when devel_mode=false and debug_level doesn't include an 8

Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
List info: http://lists.roundcube.net/dev/

More information about the Dev mailing list