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

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