Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

templates.js: Remove unused "plural" helper.

YashRE425b0db2e7edd5
diff --git a/static/js/templates.js b/static/js/templates.js
index 31a90a14481..587cd67250f 100644
--- a/static/js/templates.js
+++ b/static/js/templates.js
@@ -14,8 +14,6 @@ import * as util from "./util";
// Furthermore, waiting for DOM ready would introduce race conditions with
// other DOM-ready callbacks that attempt to render templates.
-Handlebars.registerHelper("plural", (condition, one, other) => (condition === 1 ? one : other));
-
Handlebars.registerHelper({
eq(a, b) {
return a === b;
diff --git a/tools/test-js-with-node b/tools/test-js-with-node
index a8cef59223b..80e56a12a6f 100755
--- a/tools/test-js-with-node
+++ b/tools/test-js-with-node
@@ -144,7 +144,6 @@ EXEMPT_FILES = {
"static/js/submessage.js",
"static/js/subs.js",
"static/js/message_view_header.js",
- "static/js/templates.js",
"static/js/timerender.js",
"static/js/todo_widget.js",
"static/js/topic_list.js",