diff --git a/.eslintrc.json b/.eslintrc.json index ad6378889d..bd5c63d6dc 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -52,6 +52,7 @@ "settings_sections": false, "settings_emoji": false, "settings_org": false, + "settings_ui": false, "settings_users": false, "settings_streams": false, "settings_filters": false, diff --git a/static/js/settings_ui.js b/static/js/settings_ui.js new file mode 100644 index 0000000000..60af965267 --- /dev/null +++ b/static/js/settings_ui.js @@ -0,0 +1,10 @@ +var settings_ui = (function () { + +var exports = {}; + +return exports; +}()); + +if (typeof module !== 'undefined') { + module.exports = settings_ui; +} diff --git a/tools/test-js-with-node b/tools/test-js-with-node index da7aba5263..b9c5b6bdb8 100755 --- a/tools/test-js-with-node +++ b/tools/test-js-with-node @@ -49,6 +49,7 @@ enforce_fully_covered = { 'static/js/recent_senders.js', 'static/js/rtl.js', 'static/js/search_suggestion.js', + 'static/js/settings_ui.js', 'static/js/settings_user_groups.js', 'static/js/stream_data.js', 'static/js/stream_events.js', diff --git a/zproject/settings.py b/zproject/settings.py index b647252f5d..c5a8e14a72 100644 --- a/zproject/settings.py +++ b/zproject/settings.py @@ -1130,7 +1130,8 @@ JS_SPECS = { 'js/ui_init.js', 'js/emoji_picker.js', 'js/compose_ui.js', - 'js/panels.js' + 'js/panels.js', + 'js/settings_ui.js' ], 'output_filename': 'min/app.js' },