diff options
author | kpdecker <kpdecker@gmail.com> | 2014-08-14 22:00:59 -0500 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2014-08-14 22:00:59 -0500 |
commit | c71ca34fd30a8ed04349b92564a577ba193da2ee (patch) | |
tree | 68695b212387657f95d6806b4239ac5d3df89c03 | |
parent | 85b67d7f3d6aa134be942aa1099b0938a6d36060 (diff) | |
download | handlebars.js-c71ca34fd30a8ed04349b92564a577ba193da2ee.zip handlebars.js-c71ca34fd30a8ed04349b92564a577ba193da2ee.tar.gz handlebars.js-c71ca34fd30a8ed04349b92564a577ba193da2ee.tar.bz2 |
Add FAQ entry for .default export
Fixes #824
-rw-r--r-- | FAQ.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |