|
|
пре 10 година | |
|---|---|---|
| .. | ||
| binary | пре 9 година | |
| commonjs | пре 9 година | |
| README.md | пре 10 година | |
| data.proto | пре 10 година | |
| debug.js | пре 10 година | |
| debug_test.js | пре 9 година | |
| gulpfile.js | пре 9 година | |
| jasmine.json | пре 10 година | |
| message.js | пре 10 година | |
| message_test.js | пре 9 година | |
| node_loader.js | пре 10 година | |
| package.json | пре 9 година | |
| proto3_test.js | пре 9 година | |
| proto3_test.proto | пре 10 година | |
| test.proto | пре 10 година | |
| test2.proto | пре 10 година | |
| test3.proto | пре 10 година | |
| test4.proto | пре 10 година | |
| test5.proto | пре 10 година | |
| test_bootstrap.js | пре 10 година | |
| testbinary.proto | пре 10 година | |
| testempty.proto | пре 10 година | |
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