Josh Haberman 59ea5000bb Use "node" as binary instead of "nodejs". %!s(int64=10) %!d(string=hai) anos
..
binary 77af5d04b1 Fixed nested message scopes for CommonJS. %!s(int64=9) %!d(string=hai) anos
commonjs 77af5d04b1 Fixed nested message scopes for CommonJS. %!s(int64=9) %!d(string=hai) anos
README.md e9cf31e68b Added README and enabled JavaScript tests on Node.js %!s(int64=10) %!d(string=hai) anos
data.proto e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
debug.js e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
debug_test.js e9f31ee3d7 CommonJS tests are now passing. %!s(int64=9) %!d(string=hai) anos
gulpfile.js 59ea5000bb Use "node" as binary instead of "nodejs". %!s(int64=9) %!d(string=hai) anos
jasmine.json 5394fdb641 Enable JavaScript tests for binary parse/serialize. %!s(int64=10) %!d(string=hai) anos
message.js e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
message_test.js 77af5d04b1 Fixed nested message scopes for CommonJS. %!s(int64=9) %!d(string=hai) anos
node_loader.js e9cf31e68b Added README and enabled JavaScript tests on Node.js %!s(int64=10) %!d(string=hai) anos
package.json 35298f9779 Fixed definition of extensions, and added CommonJS tests to Travis. %!s(int64=9) %!d(string=hai) anos
proto3_test.js 77af5d04b1 Fixed nested message scopes for CommonJS. %!s(int64=9) %!d(string=hai) anos
proto3_test.proto e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
test.proto 77af5d04b1 Fixed nested message scopes for CommonJS. %!s(int64=9) %!d(string=hai) anos
test2.proto e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
test3.proto e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
test4.proto e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
test5.proto e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
test_bootstrap.js e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
testbinary.proto e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos
testempty.proto e841bac4fc Down-integrate from internal code base. %!s(int64=10) %!d(string=hai) anos

README.md

This directory contains Protocol Buffer support for JavaScript. This code works in browsers and in Node.js.

The packaging work for this is still in-progress. For now you can just run the tests. First you need to build the main C++ distribution because the code generator for JavaScript is written in C++:

$ ./autogen.sh $ ./configure $ make

Then you can run the JavaScript tests in this directory:

$ cd js && gulp test