summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2017-02-08 17:08:47 -0800
committerWouter van Oortmerssen <aardappel@gmail.com>2017-02-08 17:14:35 -0800
commitd7ba17dfe5b07e9197dd6bb3ed07c38e6a4a4da7 (patch)
tree601b424d7ace7c69dfedaecd682c0ad3d29ac358 /docs
parent60b11435e62b759e8052452c0fe2be7cc1cb3033 (diff)
downloadflatbuffers-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-xdocs/source/Compiler.md6
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.