templates: Rename *.handlebars ↦ *.hbs and - ↦ _.

Tweaked by tabbott to avoid accidentally disabling the linter for
handlebars templates.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2019-07-11 15:52:56 -07:00
committed by Tim Abbott
parent 107da5402c
commit 3c3471b720
184 changed files with 152 additions and 152 deletions

View File

@@ -122,7 +122,7 @@ exports.activate = function (opts) {
var task_data = exports.task_data_holder();
function render() {
var html = templates.render('widgets/todo-widget');
var html = templates.render('widgets/todo_widget');
elem.html(html);
elem.find("button.add-task").on('click', function (e) {
@@ -149,7 +149,7 @@ exports.activate = function (opts) {
function render_results() {
var widget_data = task_data.get_widget_data();
var html = templates.render('widgets/todo-widget-tasks', widget_data);
var html = templates.render('widgets/todo_widget_tasks', widget_data);
elem.find('ul.todo-widget').html(html);
elem.find(".widget-error").text('');