Update compat notes for es6-modules

This commit is contained in:
kpdecker
2013-10-12 16:21:52 -05:00
parent 83b5e10d70
commit 3f96319f10
+4 -2
View File
@@ -8,8 +8,10 @@
- [#544](https://github.com/wycats/handlebars.js/issues/544) - Push travis builds to build server ([@fivetanley](https://github.com/fivetanley))
Compatibility notes:
- The client-code has been wrapped in a hybrid AMD/CommonJS loader.
This may cause unexpected issues with different build/loading mechanisms so this change is being made early in the 1.1 lifecycle.
- The project now includes separate artifacts for AMD, CommonJS, and global objects.
- AMD: Users may load the bundled `handlebars.amd.js` or `handlebars.runtime.amd.js` files or load individual modules directly. AMD users should also note that the handlebars object is exposed via the `default` field on the imported object. This [gist](https://gist.github.com/wycats/7417be0dc361a69d5916) provides some discussion of possible compatibility shims.
- CommonJS/Node: Node loading occurs as normal via `require`
- Globals: The `handlebars.js` and `handlebars.runtime.js` files should behave in the same manner as the v1.0.12 / 1.0.0 release.
[Commits](https://github.com/wycats/handlebars.js/compare/v1.0.12...master)