From 950c995e759d65d8dd4e9fc11383d4ed269b35bd Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 10 Jun 2014 16:05:38 +0100 Subject: [PATCH] Add default template for facets. --- src/mkws-core.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mkws-core.js b/src/mkws-core.js index 7091291..325de02 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -259,6 +259,11 @@ mkws.defaultTemplate = function(name) {
\ \ '; + } else if (name === 'Facet') { + return '\ +{{term}}\ +{{count}}\ +'; } var s = "There is no default '" + name +"' template!"; -- 1.7.10.4