diff --git a/.eslintrc.json b/.eslintrc.json index af6ddb9dfb..32e1732a88 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -169,6 +169,7 @@ "stream_muting": false, "stream_popover": false, "stream_sort": false, + "stream_ui_updates": false, "StripeCheckout": false, "submessage": false, "subs": false, diff --git a/static/js/bundles/app.js b/static/js/bundles/app.js index 1764e0c2f7..161d523508 100644 --- a/static/js/bundles/app.js +++ b/static/js/bundles/app.js @@ -203,6 +203,7 @@ import "js/panels.js"; import 'js/settings_ui.js'; import 'js/search_pill.js'; import 'js/search_pill_widget.js'; +import 'js/stream_ui_updates.js'; // Import Styles diff --git a/static/js/js_typings/zulip/index.d.ts b/static/js/js_typings/zulip/index.d.ts index 029aa0d43b..24c8b014da 100644 --- a/static/js/js_typings/zulip/index.d.ts +++ b/static/js/js_typings/zulip/index.d.ts @@ -137,6 +137,7 @@ declare var stream_list: any; declare var stream_muting: any; declare var stream_popover: any; declare var stream_sort: any; +declare var stream_ui_updates: any; declare var submessage: any; declare var subs: any; declare var tab_bar: any; diff --git a/static/js/stream_ui_updates.js b/static/js/stream_ui_updates.js new file mode 100644 index 0000000000..14a2ae725e --- /dev/null +++ b/static/js/stream_ui_updates.js @@ -0,0 +1,11 @@ +var stream_ui_updates = (function () { + +var exports = {}; + +return exports; +}()); + +if (typeof module !== 'undefined') { + module.exports = stream_ui_updates; +} +window.stream_ui_updates = stream_ui_updates; diff --git a/tools/test-js-with-node b/tools/test-js-with-node index 80d740c4d2..194a3c563e 100755 --- a/tools/test-js-with-node +++ b/tools/test-js-with-node @@ -72,6 +72,7 @@ enforce_fully_covered = { 'static/js/stream_data.js', 'static/js/stream_events.js', 'static/js/stream_sort.js', + 'static/js/stream_ui_updates.js', 'static/js/top_left_corner.js', 'static/js/topic_data.js', 'static/js/topic_generator.js',