[ckan-changes] [okfn/ckan] 88a8a3: [#2641] Add helper function to escape JS code

GitHub noreply at github.com
Wed Jul 11 17:39:30 UTC 2012


  Branch: refs/heads/2375-demo-theme-development
  Home:   https://github.com/okfn/ckan
  Commit: 88a8a3e55181fd13eb0d93a822672387234751b3
      https://github.com/okfn/ckan/commit/88a8a3e55181fd13eb0d93a822672387234751b3
  Author: amercader <amercadero at gmail.com>
  Date:   2012-07-11 (Wed, 11 Jul 2012)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  [#2641] Add helper function to escape JS code

Needed to escape the JSON object needed for the dataset map


  Commit: 6d0ecd67ddca458218db9ba12329b63274923f0a
      https://github.com/okfn/ckan/commit/6d0ecd67ddca458218db9ba12329b63274923f0a
  Author: amercader <amercadero at gmail.com>
  Date:   2012-07-11 (Wed, 11 Jul 2012)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  Add helper function for getting individual extras

Makes much more easy to get extras from the templates


Compare: https://github.com/okfn/ckan/compare/19b79877a285...6d0ecd67ddca


More information about the ckan-changes mailing list