Josh Haberman e9f31ee3d7 CommonJS tests are now passing. 9 سال پیش
..
binary e9f31ee3d7 CommonJS tests are now passing. 9 سال پیش
README.md e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 سال پیش
commonjs_export.js e9f31ee3d7 CommonJS tests are now passing. 9 سال پیش
commonjs_export_asserts.js e9f31ee3d7 CommonJS tests are now passing. 9 سال پیش
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 e9f31ee3d7 CommonJS tests are now passing. 9 سال پیش
jasmine.json 5394fdb641 Enable JavaScript tests for binary parse/serialize. 9 سال پیش
jasmine_commonjs.json e9f31ee3d7 CommonJS tests are now passing. 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 سال پیش
rewrite_tests_for_commonjs.js e9f31ee3d7 CommonJS tests are now passing. 9 سال پیش
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