Add another Handlebars helper, "compare".
authorMike Taylor <mike@indexdata.com>
Thu, 26 Mar 2015 17:02:25 +0000 (17:02 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 26 Mar 2015 17:02:25 +0000 (17:02 +0000)
commit058ce4a204a9ce4d63b2d319037f60cd9f94ff1b
treebaf105734c8e0e8f29504ce81706d99ed673d479
parentd04dec7cca82e4914f260bad76d71eefc6b6cf53
Add another Handlebars helper, "compare".
This code is by Mike Griffin, taken from this blog comment:
http://doginthehat.com.au/2012/02/comparison-block-helper-for-handlebars-templates/#comment-44
Clearly something like it ought to be in Handlebars.
src/mkws-handlebars.js