Josh Haberman 5394fdb641 Enable JavaScript tests for binary parse/serialize. 10 yıl önce
..
binary 5394fdb641 Enable JavaScript tests for binary parse/serialize. 10 yıl önce
README.md e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 yıl önce
data.proto e841bac4fc Down-integrate from internal code base. 10 yıl önce
debug.js e841bac4fc Down-integrate from internal code base. 10 yıl önce
debug_test.js e841bac4fc Down-integrate from internal code base. 10 yıl önce
gulpfile.js e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 yıl önce
jasmine.json 5394fdb641 Enable JavaScript tests for binary parse/serialize. 10 yıl önce
message.js e841bac4fc Down-integrate from internal code base. 10 yıl önce
message_test.js e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 yıl önce
node_loader.js e9cf31e68b Added README and enabled JavaScript tests on Node.js 10 yıl önce
package.json 5394fdb641 Enable JavaScript tests for binary parse/serialize. 10 yıl önce
proto3_test.js e841bac4fc Down-integrate from internal code base. 10 yıl önce
proto3_test.proto e841bac4fc Down-integrate from internal code base. 10 yıl önce
test.proto e841bac4fc Down-integrate from internal code base. 10 yıl önce
test2.proto e841bac4fc Down-integrate from internal code base. 10 yıl önce
test3.proto e841bac4fc Down-integrate from internal code base. 10 yıl önce
test4.proto e841bac4fc Down-integrate from internal code base. 10 yıl önce
test5.proto e841bac4fc Down-integrate from internal code base. 10 yıl önce
test_bootstrap.js e841bac4fc Down-integrate from internal code base. 10 yıl önce
testbinary.proto e841bac4fc Down-integrate from internal code base. 10 yıl önce
testempty.proto e841bac4fc Down-integrate from internal code base. 10 yıl önce

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