-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
protobuf.js version: 7.1.2
Hi,
I am using duktape Javascript engine (ES5/5.1 compliant + few features ES6/7) along with protobuf.js.
I get the following error when compiling protobuf.js: SyntaxError: invalid object literal (line x)
This is due to the fact that duktape doesn’t understand the function syntax as below:
protobuf.js/src/util/minimal.js
Line 291 in d026849
get() { return name; }, |
protobuf.js/src/util/minimal.js
Line 301 in d026849
value() { return this.name + ": " + this.message; }, |
Would be great if we could follow a common syntax like in other protobuf.js files. Example:
Line 390 in d026849
int64: function read_int64() { |
Metadata
Metadata
Assignees
Labels
No labels