Update compat notes for es6-modules
This commit is contained in:
+4
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user