From c71ca34fd30a8ed04349b92564a577ba193da2ee Mon Sep 17 00:00:00 2001 From: kpdecker Date: Thu, 14 Aug 2014 22:00:59 -0500 Subject: [PATCH] Add FAQ entry for .default export Fixes #824 --- FAQ.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FAQ.md b/FAQ.md index bd4f6aa3..4e8b8562 100644 --- a/FAQ.md +++ b/FAQ.md @@ -35,3 +35,6 @@ On the client side. Should these match, please file an issue with us, per our [issue filing guidelines](https://github.com/wycats/handlebars.js/blob/master/README.markdown#reporting-issues). + +1. Why doesn't IE like the `default` name in the AMD module? + Some browsers such as particular versions of IE treat `default` as a reserved word in JavaScript source files. To safely use this you need to reference this via the `Handlebars['default']` lookup method. This is an unfortunate side effect of the shims necessary to backport the handlebars ES6 code to all current browsers.