You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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
protobuf.js/src/util/minimal.js
Line 301 in d026849
Would be great if we could follow a common syntax like in other protobuf.js files. Example:
protobuf.js/src/reader.js
Line 390 in d026849
The text was updated successfully, but these errors were encountered: