Changed the JavaScript generation to emit createX helper functions just like the...
authorChristopher Cifra <christopher.cifra@live.com>
Fri, 15 Feb 2019 00:00:33 +0000 (18:00 -0600)
committerWouter van Oortmerssen <aardappel@gmail.com>
Fri, 15 Feb 2019 00:00:33 +0000 (01:00 +0100)
commit9d483a3f0b4517ceadbb736ab8b9a279dca36748
tree9d1e61cd73134c8bd1e920738c85633ac0ee1d4c
parentb650dfba49dacbfe801cbe98de7f385d11340db8
Changed the JavaScript generation to emit createX helper functions just like the TypeScript code generation. I also added code so that the create methods have documentation in both JavaScript and TypeScript. (#5168)
src/idl_gen_js_ts.cpp
tests/monster_test_generated.js
tests/namespace_test/namespace_test1_generated.js
tests/namespace_test/namespace_test2_generated.js
tests/union_vector/union_vector_generated.js