static/js: Add `settings_ui.js` file for common settings UI functions.

This commit is contained in:
YJDave 2018-03-03 10:46:55 +05:30 committed by Tim Abbott
parent eb7a744639
commit f5a24efdd8
4 changed files with 14 additions and 1 deletions

View File

@ -52,6 +52,7 @@
"settings_sections": false, "settings_sections": false,
"settings_emoji": false, "settings_emoji": false,
"settings_org": false, "settings_org": false,
"settings_ui": false,
"settings_users": false, "settings_users": false,
"settings_streams": false, "settings_streams": false,
"settings_filters": false, "settings_filters": false,

10
static/js/settings_ui.js Normal file
View File

@ -0,0 +1,10 @@
var settings_ui = (function () {
var exports = {};
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = settings_ui;
}

View File

@ -49,6 +49,7 @@ enforce_fully_covered = {
'static/js/recent_senders.js', 'static/js/recent_senders.js',
'static/js/rtl.js', 'static/js/rtl.js',
'static/js/search_suggestion.js', 'static/js/search_suggestion.js',
'static/js/settings_ui.js',
'static/js/settings_user_groups.js', 'static/js/settings_user_groups.js',
'static/js/stream_data.js', 'static/js/stream_data.js',
'static/js/stream_events.js', 'static/js/stream_events.js',

View File

@ -1130,7 +1130,8 @@ JS_SPECS = {
'js/ui_init.js', 'js/ui_init.js',
'js/emoji_picker.js', 'js/emoji_picker.js',
'js/compose_ui.js', 'js/compose_ui.js',
'js/panels.js' 'js/panels.js',
'js/settings_ui.js'
], ],
'output_filename': 'min/app.js' 'output_filename': 'min/app.js'
}, },