Skip to content

Commit 5785dee

Browse files
committed
Restructured encoder / decoder to better support static code gen
1 parent a7d9c18 commit 5785dee

File tree

14 files changed

+158
-339
lines changed

14 files changed

+158
-339
lines changed

cli/targets/static.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = static_target;
2+
3+
static_target.private = true;
4+
5+
var protobuf = require("../..");
6+
7+
function static_target(root, options, callback) {
8+
callback(Error("not implemented"));
9+
}

dist/protobuf.js

Lines changed: 60 additions & 129 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/protobuf.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/protobuf.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/protobuf.min.js.gz

-31 Bytes
Binary file not shown.

dist/protobuf.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)