Refactor and improve js_utils helpers
- Rename escape_json_dumps to dump_js_escaped_json - Rename escape_js_string to js_escaped_string - Update js_escaped_string to output empty string for None - Introduce dump_html_escaped_json - Move dump_js_escaped_json after the pipe as new best practice - Introduce additional uses of helpers - Introduce new djangolib directory and move js_utils
Showing
openedx/core/djangolib/__init__.py
0 → 100644
openedx/core/djangolib/js_utils.py
0 → 100644
openedx/core/djangolib/tests/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
openedx/core/lib/js_utils.py
deleted
100644 → 0
Please
register
or
sign in
to comment