Commit 45d08cf1 authored by TasteBot's avatar TasteBot

update the build files for gh-pages [ci skip]

parent c1f67a1d
/*global jQuery, Handlebars */ /*global jQuery, Handlebars, Router */
jQuery(function ($) { jQuery(function ($) {
'use strict'; 'use strict';
Handlebars.registerHelper('eq', function(a, b, options) { Handlebars.registerHelper('eq', function (a, b, options) {
return a === b ? options.fn(this) : options.inverse(this); return a === b ? options.fn(this) : options.inverse(this);
}); });
...@@ -44,7 +44,7 @@ jQuery(function ($) { ...@@ -44,7 +44,7 @@ jQuery(function ($) {
this.cacheElements(); this.cacheElements();
this.bindEvents(); this.bindEvents();
Router({ new Router({
'/:filter': function (filter) { '/:filter': function (filter) {
this.filter = filter; this.filter = filter;
this.render(); this.render();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment