debian/cubicweb-ctl.install.in
author Alain Leufroy <alain@leufroy.fr>
Fri, 27 Mar 2015 15:29:34 +0100
changeset 10332 da1cb2b12fe1
parent 9208 7ae95f48e2f0
permissions -rw-r--r--
[uilib] `uilib.js` helper now honors explicit JSString (closes #4959538) Previously, if a JSString was inside a nested container (i.e. list or dict), it was handled as a string, not a verbatim js chunk (see docstring and test). So the following code:: >>> str(js.cw.pouet(1, {'callback': JSString('cw.mycallback')}) resulted in:: "cw.pouet(1, {'callback': 'cw.mycallback')})" while we expect (note the removed quotes):: "cw.pouet(1, {'callback': cw.mycallback)})" We use ``cubiweb.utils.js_dumps`` instead of ``cubicweb.utils.json_dumps`` which is aware of JSString.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9208
7ae95f48e2f0 [pkg] fix debian packaging (closes #3058542)
David Douard <david.douard@logilab.fr>
parents: 858
diff changeset
     1
usr/bin/cubicweb-ctl usr/bin/
7ae95f48e2f0 [pkg] fix debian packaging (closes #3058542)
David Douard <david.douard@logilab.fr>
parents: 858
diff changeset
     2
usr/lib/PY_VERSION/*-packages/cubicweb/cwctl.py
7ae95f48e2f0 [pkg] fix debian packaging (closes #3058542)
David Douard <david.douard@logilab.fr>
parents: 858
diff changeset
     3
../cubicweb-ctl.bash_completion etc/bash_completion.d/cubicweb-ctl