mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
Thrift-1402:Generated Y_types.js does not require() X_types.js when an include in the IDL file was used
Client: js Patch: Patrick Costello Adds render_includes() to js header.
This commit is contained in:
parent
175a694109
commit
0049ec72ed
@ -270,7 +270,8 @@ void t_js_generator::init_generator() {
|
||||
// Print header
|
||||
f_types_ <<
|
||||
autogen_comment() <<
|
||||
js_includes() << endl;
|
||||
js_includes() << endl <<
|
||||
render_includes() << endl;
|
||||
|
||||
if (gen_node_) {
|
||||
f_types_ << "var ttypes = module.exports = {};" << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user