]> git.evergreen-ils.org Git - working/Evergreen.git/commit
More cleanup of Dojo JSON files
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 7 Jun 2010 05:36:47 +0000 (05:36 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 7 Jun 2010 05:36:47 +0000 (05:36 +0000)
commit1a650a7e7a4000996a0596391b55c275f6cf4075
treec2a67c85679778ee28fe41049bb968379489d592
parent6446295ecf81afd26794c9a51afa18056d2d4a26
More cleanup of Dojo JSON files

  * Double-quote all strings - no single-quoting or barewords
  * Don't escape dollar signs
  * JSON doesn't allow expressions like string continuations ("" + "")

reservations.js has some remaining issues, looks like functions were
defined for what should be simple string substitutions. dojo.string.substitute()
will solve this problem, I believe, with ${0}, ${1}, etc tokens for substitution

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16606 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/web/js/dojo/openils/User/nls/User.js
Open-ILS/web/js/dojo/openils/actor/nls/register.js
Open-ILS/web/js/dojo/openils/booking/nls/capture.js
Open-ILS/web/js/dojo/openils/booking/nls/pickup_and_return.js
Open-ILS/web/js/dojo/openils/booking/nls/pull_list.js
Open-ILS/web/js/dojo/openils/booking/nls/reservation.js
Open-ILS/web/js/dojo/openils/circ/nls/selfcheck.js
Open-ILS/web/js/dojo/openils/widget/nls/AutoFieldWidget.js
Open-ILS/web/js/dojo/openils/widget/nls/TranslatorPopup.js
Open-ILS/web/js/dojo/openils/widget/nls/XULTermLoader.js
Open-ILS/web/js/ui/default/actor/user/register.js