From c5acea75aabb9f8238a35b53ac23f1bdb0c51f07 Mon Sep 17 00:00:00 2001 From: Kevin Decker Date: Mon, 25 Aug 2014 23:37:40 -0500 Subject: [PATCH] Update FAQ.md --- FAQ.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/FAQ.md b/FAQ.md index 3b1cbd80..0bd0997d 100644 --- a/FAQ.md +++ b/FAQ.md @@ -1,18 +1,23 @@ # Frequently Asked Questions 1. How can I file a bug report: + See our guidelines on [reporting issues](https://github.com/wycats/handlebars.js/blob/master/CONTRIBUTING.md#reporting-issues). 1. Why isn't my Mustache template working? + Handlebars deviates from Mustache slightly on a few behaviors. These variations are documented in our [readme](https://github.com/wycats/handlebars.js#differences-between-handlebarsjs-and-mustache). 1. Why is it slower when compiling? + The Handlebars compiler must parse the template and construct a JavaScript program which can then be run. Under some environments such as older mobile devices this can have a performance impact which can be avoided by precompiling. Generally it's recommended that precompilation and the runtime library be used on all clients. 1. Why doesn't this work with Content Security Policy restrictions? + When not using the precompiler, Handlebars generates a dynamic function for each template which can cause issues with pages that have enabled Content Policy. It's recommended that templates are precompiled or the `unsafe-eval` policy is enabled for sites that must generate dynamic templates at runtime. 1. How can I include script tags in my template? + If loading the template via an inlined `