diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2017-02-08 17:08:47 -0800 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2017-02-08 17:14:35 -0800 |
commit | d7ba17dfe5b07e9197dd6bb3ed07c38e6a4a4da7 (patch) | |
tree | 601b424d7ace7c69dfedaecd682c0ad3d29ac358 /docs | |
parent | 60b11435e62b759e8052452c0fe2be7cc1cb3033 (diff) | |
download | flatbuffers-d7ba17dfe5b07e9197dd6bb3ed07c38e6a4a4da7.tar.gz flatbuffers-d7ba17dfe5b07e9197dd6bb3ed07c38e6a4a4da7.tar.bz2 flatbuffers-d7ba17dfe5b07e9197dd6bb3ed07c38e6a4a4da7.zip |
Changes to make flatbuffers javascript compatible with the closure compiler.
Change-Id: Iab8d66a8f34910029deb8a5ff5ec7ba50c5b3421
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/source/Compiler.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/source/Compiler.md b/docs/source/Compiler.md index b71b8c46..b83aace1 100755 --- a/docs/source/Compiler.md +++ b/docs/source/Compiler.md @@ -93,6 +93,12 @@ Additional options: output (by default the case for C++ and JS), all code will end up in this one file. +- `--no-js-exports` : Removes Node.js style export lines (useful for JS) + +- `--goog-js-export` : Uses goog.exportsSymbol and goog.exportsProperty + instead of Node.js style exporting. Needed for compatibility with the + Google closure compiler (useful for JS). + - `--raw-binary` : Allow binaries without a file_indentifier to be read. This may crash flatc given a mismatched schema. |