From 4ec5d0128865267a3f6edfd9921bdca80d98162a Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 26 Feb 2017 15:35:11 -0800 Subject: [PATCH] adding docs for mozilla review --- build_tmpl.sh | 2 +- tmpl/building.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tmpl/building.md diff --git a/build_tmpl.sh b/build_tmpl.sh index be8362a6..e91f8de8 100755 --- a/build_tmpl.sh +++ b/build_tmpl.sh @@ -1,2 +1,2 @@ #!/bin/sh -handlebars tmpl/* -f ext/bg/js/templates.js +handlebars tmpl/*.html -f ext/bg/js/templates.js diff --git a/tmpl/building.md b/tmpl/building.md new file mode 100644 index 00000000..1ca1a5c5 --- /dev/null +++ b/tmpl/building.md @@ -0,0 +1,5 @@ +# Building Handlebars Templates # + +This directory contains templates which need to be processed by the [Handlebars](http://handlebarsjs.com/) templating +engine. Make sure you have this [Node.js](https://nodejs.org/en/) module installed and execute `handlebars *.html -f +templates.js` to generate compiled template definitions.