diff options
author | Blessan Mathew <blessenm@gmail.com> | 2013-06-09 21:05:58 +0530 |
---|---|---|
committer | Blessan Mathew <blessenm@gmail.com> | 2013-06-09 21:05:58 +0530 |
commit | 96718441ec774d97527a7b6fe9aab0c0839a6d2c (patch) | |
tree | c272aaf0f4c5955e2d9a4a759d91753b0203748b /README.markdown | |
parent | 8e2416dabb2056c07357a55b9259322f0d794ada (diff) | |
download | handlebars.js-96718441ec774d97527a7b6fe9aab0c0839a6d2c.zip handlebars.js-96718441ec774d97527a7b6fe9aab0c0839a6d2c.tar.gz handlebars.js-96718441ec774d97527a7b6fe9aab0c0839a6d2c.tar.bz2 |
Added additional options to the doc.
Added additional precompilation options to the readme doc.
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/README.markdown b/README.markdown index 0946d90..ebd4cd5 100644 --- a/README.markdown +++ b/README.markdown @@ -271,13 +271,20 @@ Precompile handlebar templates. Usage: handlebars template... Options: - -a, --amd Create an AMD format function (allows loading with RequireJS) [boolean] - -f, --output Output File [string] - -k, --known Known helpers [string] - -o, --knownOnly Known helpers only [boolean] - -m, --min Minimize output [boolean] - -s, --simple Output template function only. [boolean] - -r, --root Template root. Base value that will be stripped from template names. [string] + -a, --amd Create an AMD format function (allows loading with RequireJS) [boolean] + -f, --output Output File [string] + -k, --known Known helpers [string] + -o, --knownOnly Known helpers only [boolean] + -m, --min Minimize output [boolean] + -s, --simple Output template function only. [boolean] + -r, --root Template root. Base value that will be stripped from template names. [string] + -c, --commonjs Exports CommonJS style, path to Handlebars module [string] + -h, --handlebarPath Path to handlebar.js (only valid for amd-style) [string] + -n, --namespace Template namespace [string] + -p, --partial Compiling a partial template [boolean] + -d, --data Include data when compiling [boolean] + -e, --extension Template extension. [string] + -b, --bom Removes the BOM (Byte Order Mark) from the beginning of the templates. [boolean] </pre> If using the precompiler's normal mode, the resulting templates will be |