From 3ac82f14a08c2c077bce6937786c922d8ca15fee Mon Sep 17 00:00:00 2001 From: cobbspur Date: Thu, 22 Aug 2013 20:42:54 +0100 Subject: [PATCH] rename helpers paginate -> pagination, dateFormat -> date closes #381 - renamed entries for dateFormat in helpers to date - renamed entries for paginate in helpers and unit tests to pagination --- core/client/helpers/index.js | 2 +- core/client/tpl/list-item.hbs | 2 +- core/server/helpers/index.js | 6 +++--- core/test/unit/frontend_helpers_index_spec.js | 14 +++++++------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/core/client/helpers/index.js b/core/client/helpers/index.js index c472f1f819..4ecf2cdc8b 100644 --- a/core/client/helpers/index.js +++ b/core/client/helpers/index.js @@ -2,7 +2,7 @@ */ (function () { "use strict"; - Handlebars.registerHelper('dateFormat', function (context, block) { + Handlebars.registerHelper('date', function (context, block) { var f = block.hash.format || "MMM Do, YYYY", timeago = block.hash.timeago, date; diff --git a/core/client/tpl/list-item.hbs b/core/client/tpl/list-item.hbs index 1d1dcd37a0..ae4b22dbb5 100644 --- a/core/client/tpl/list-item.hbs +++ b/core/client/tpl/list-item.hbs @@ -3,7 +3,7 @@