Re: [Crosswalk-dev] improved version of js2c.sh

2014-07-04 Thread Smith, Elliot
Thanks, I've merged this with the docs. It should be on the live site shortly. Elliot On 4 July 2014 11:22, José Bollo wrote: > Please find below an improved (escaping) version of the script js2c.sh > found page > > https://crosswalk-project.org/#documentation/tizen_ivi_extensions/write_an_ext

[Crosswalk-dev] improved version of js2c.sh

2014-07-04 Thread José Bollo
Please find below an improved (escaping) version of the script js2c.sh found page https://crosswalk-project.org/#documentation/tizen_ivi_extensions/write_an_extension Best regards José #!/bin/sh INPUT=${1:-/dev/stdin} [ "$INPUT" = "-" ] && INPUT="/dev/stdin" OUTPUT=${2:-/dev/stdout} [ "$OUT"