Skip to content

Commit

Permalink
Improved bytes field support, also fixes #606; Other: Refactored some…
Browse files Browse the repository at this point in the history
… internal utility away
  • Loading branch information
dcodeIO committed Jan 2, 2017
1 parent 0c03f32 commit fde56c0
Show file tree
Hide file tree
Showing 38 changed files with 989 additions and 1,002 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,10 @@ Consolidates imports and converts between file formats.
--no-encode Does not generate encode functions.
--no-decode Does not generate decode functions.
--no-verify Does not generate verify functions.
--no-convert Does not generate convert functions like asJSON and from.
--no-delimited Does not generate delimited encode/decode functions.
--no-beautify Does not beautify generated code.
--no-comments Does not output any JSDoc comments.
usage: pbjs [options] file1.proto file2.json ...
```
Expand Down
3 changes: 1 addition & 2 deletions cli/targets/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ function beautify(code) {
mangle: false,
output: {
beautify: true,
bracketize: true,
screw_ie8: false
bracketize: true
}
}
).code.replace(/ {4}/g, "\t");
Expand Down
Loading

0 comments on commit fde56c0

Please sign in to comment.