Josh Haberman d4315ca348 Fixed version number and testing command. 10 年之前
..
binary e841bac4fc Down-integrate from internal code base. 10 年之前
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 e841bac4fc Down-integrate from internal code base. 10 年之前
gulpfile.js e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 年之前
jasmine.json e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 年之前
message.js e841bac4fc Down-integrate from internal code base. 10 年之前
message_test.js e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 年之前
node_loader.js e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 年之前
package.json d4315ca348 Fixed version number and testing command. 10 年之前
proto3_test.js e841bac4fc Down-integrate from internal code base. 10 年之前
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