Josh Haberman d6a186a8f1 Added some documentation in comments. 9 роки тому
..
binary e9f31ee3d7 CommonJS tests are now passing. 9 роки тому
commonjs d6a186a8f1 Added some documentation in comments. 9 роки тому
README.md e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 роки тому
data.proto e841bac4fc Down-integrate from internal code base. 10 роки тому
debug.js e841bac4fc Down-integrate from internal code base. 10 роки тому
debug_test.js e9f31ee3d7 CommonJS tests are now passing. 9 роки тому
gulpfile.js 9e60036c1b Moved CommonJS-specific files to commonjs/. 9 роки тому
jasmine.json 5394fdb641 Enable JavaScript tests for binary parse/serialize. 9 роки тому
message.js e841bac4fc Down-integrate from internal code base. 10 роки тому
message_test.js e9f31ee3d7 CommonJS tests are now passing. 9 роки тому
node_loader.js e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 роки тому
package.json e9f31ee3d7 CommonJS tests are now passing. 9 роки тому
proto3_test.js e9f31ee3d7 CommonJS tests are now passing. 9 роки тому
proto3_test.proto e841bac4fc Down-integrate from internal code base. 10 роки тому
test.proto e841bac4fc Down-integrate from internal code base. 10 роки тому
test2.proto e841bac4fc Down-integrate from internal code base. 10 роки тому
test3.proto e841bac4fc Down-integrate from internal code base. 10 роки тому
test4.proto e841bac4fc Down-integrate from internal code base. 10 роки тому
test5.proto e841bac4fc Down-integrate from internal code base. 10 роки тому
test_bootstrap.js e841bac4fc Down-integrate from internal code base. 10 роки тому
testbinary.proto e841bac4fc Down-integrate from internal code base. 10 роки тому
testempty.proto e841bac4fc Down-integrate from internal code base. 10 роки тому

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