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

GitHub noreply at github.com
Thu Jul 12 10:25:28 UTC 2012


  Branch: refs/heads/feature-2375-demo-theme
  Home:   https://github.com/okfn/ckan
  Commit: 1aa971b920f3cbf4cb78c9c365cec17bacc73bb7
      https://github.com/okfn/ckan/commit/1aa971b920f3cbf4cb78c9c365cec17bacc73bb7
  Author: amercader <amercadero at gmail.com>
  Date:   2012-07-12 (Thu, 12 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: cef08cde6624ca3e90cf9dfe8149b4b5cb0ffe14
      https://github.com/okfn/ckan/commit/cef08cde6624ca3e90cf9dfe8149b4b5cb0ffe14
  Author: amercader <amercadero at gmail.com>
  Date:   2012-07-12 (Thu, 12 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


  Commit: c4fe7f4fbbc98b5f95a7375de61ccb89b7582e8a
      https://github.com/okfn/ckan/commit/c4fe7f4fbbc98b5f95a7375de61ccb89b7582e8a
  Author: amercader <amercadero at gmail.com>
  Date:   2012-07-12 (Thu, 12 Jul 2012)

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

  Log Message:
  -----------
  Rename helper function get_extra to get_pkg_dict_extra


Compare: https://github.com/okfn/ckan/compare/38cd8db06250...c4fe7f4fbbc9


More information about the ckan-changes mailing list