Skip to content

Commit

Permalink
JavaScript: rename the {Format} parameter to {Format}_
Browse files Browse the repository at this point in the history
... also in the remaining specs that haven't yet been regenerated in the
previous commit.

This is to indicate that the meaning of this parameter changed in the
previous commit because of the change to
`helpers/javascript/testHelper.js`. Previously, the test body received
the parser constructor function directly, but now it only receives the
wrapper object that contains the constructor under the name of the
format as a key. Appending an underscore `_` is our own convention to
indicate this, see
https://github.com/kaitai-io/kaitai_struct_compiler/blob/cc4e73b89bf120e57a6577dd70f72a4abd3d25e8/shared/src/main/scala/io/kaitai/struct/languages/JavaScriptCompiler.scala#L662-L666

kaitai-io/kaitai_struct#1074 is related.
  • Loading branch information
generalmimon committed Sep 29, 2024
1 parent b288b6b commit 8b76576
Show file tree
Hide file tree
Showing 199 changed files with 199 additions and 199 deletions.
2 changes: 1 addition & 1 deletion spec/javascript/test_bcd_user_type_be.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bcd_user_type_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_byte_aligned.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_seq_endian_combo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_shift_by_b32_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_shift_by_b64_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_signed_res_b32_be.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_signed_res_b32_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_signed_shift_b32_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_signed_shift_b64_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_simple.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_simple_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_unaligned_b32_be.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_unaligned_b32_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_unaligned_b64_be.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bits_unaligned_b64_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_buffered_struct.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_bytes_pad_term.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_cast_nested.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_cast_to_top.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_combine_bool.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_combine_bytes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_combine_str.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_debug_switch_user.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_default_big_endian.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_default_bit_endian_mod.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_default_endian_expr_inherited.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_default_endian_expr_is_be.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_default_endian_expr_is_le.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_default_endian_mod.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_docstrings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_docstrings_docref.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_docstrings_docref_multi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_enum_deep_literals.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_0.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_1.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_2.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_array.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_bytes_cmp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_bytes_non_literal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_bytes_ops.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_calc_array_ops.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_fstring_0.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_expr_if_int_ops.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8b76576

Please sign in to comment.