Commit 32b25bf9 by Timothée Peignier

fix rest

parent ab86e9bf
...@@ -84,19 +84,19 @@ And use these settings :: ...@@ -84,19 +84,19 @@ And use these settings ::
PIPELINE_TEMPLATE_FUNC = 'Mustache.template' PIPELINE_TEMPLATE_FUNC = 'Mustache.template'
Handlebars Handlebars
......... ..........
To use it with `Handlebars <http://handlebarsjs.com/>`_, use the following settings :: To use it with `Handlebars <http://handlebarsjs.com/>`_, use the following settings ::
PIPELINE_TEMPLATE_EXT = '.handlebars' PIPELINE_TEMPLATE_EXT = '.handlebars'
PIPELINE_TEMPLATE_FUNC = 'Handlebars.compile' PIPELINE_TEMPLATE_FUNC = 'Handlebars.compile'
PIPELINE_TEMPLATE_NAMESPACE = 'Handlebars.templates' PIPELINE_TEMPLATE_NAMESPACE = 'Handlebars.templates'
Prototype Prototype
......... .........
To use it with `Prototype <http://www.prototypejs.org/>`_, just setup your To use it with `Prototype <http://www.prototypejs.org/>`_, just setup your
``PIPELINE_TEMPLATE_FUNC`` :: ``PIPELINE_TEMPLATE_FUNC`` ::
PIPELINE_TEMPLATE_FUNC = 'new Template' PIPELINE_TEMPLATE_FUNC = 'new Template'
......
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