diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-03 21:12:23 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-04 00:25:55 -0400 |
commit | f774953011cb3ad85914bc9f5f66aa121f00528d (patch) | |
tree | e2943c332cd4d2af1fbbabf2e9b3ed879978b746 /js/truncate.ts | |
parent | 51dc46eff4a122543f4a290c00fa29e3b272f70f (diff) |
Rename flatbuffer base.msg to base.inner
This better disambiguates with the msg_generated.ts module, which in JS
we call "fbs", but would be better called "msg".
Diffstat (limited to 'js/truncate.ts')
-rw-r--r-- | js/truncate.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/truncate.ts b/js/truncate.ts index 05bee7168..c5cfbbf74 100644 --- a/js/truncate.ts +++ b/js/truncate.ts @@ -37,6 +37,6 @@ function req( fbs.Truncate.startTruncate(builder); fbs.Truncate.addName(builder, name_); fbs.Truncate.addLen(builder, len); - const msg = fbs.Truncate.endTruncate(builder); - return [builder, fbs.Any.Truncate, msg]; + const inner = fbs.Truncate.endTruncate(builder); + return [builder, fbs.Any.Truncate, inner]; } |