diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2018-08-22 11:55:30 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2018-08-22 11:55:30 -0700 |
commit | afe98de32a130e0033c9b10fa470bb2ff858ed8d (patch) | |
tree | 3a049ef1ae3725e37f4701f6ff4f9ffad64f811b /js | |
parent | 228530e2da79603450948d5d701fe4bb4e47c430 (diff) | |
download | protobuf-afe98de32a130e0033c9b10fa470bb2ff858ed8d.tar.gz protobuf-afe98de32a130e0033c9b10fa470bb2ff858ed8d.tar.bz2 protobuf-afe98de32a130e0033c9b10fa470bb2ff858ed8d.zip |
Replace repo links.
Diffstat (limited to 'js')
-rw-r--r-- | js/README.md | 8 | ||||
-rw-r--r-- | js/package.json | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/js/README.md b/js/README.md index 97fa7e29..2c142222 100644 --- a/js/README.md +++ b/js/README.md @@ -25,7 +25,7 @@ To use Protocol Buffers with JavaScript, you need two main components: 2. The Protocol Compiler `protoc`. This translates `.proto` files into `.js` files. The compiler is not currently available via npm, but you can download a pre-built binary - [on GitHub](https://github.com/google/protobuf/releases) + [on GitHub](https://github.com/protocolbuffers/protobuf/releases) (look for the `protoc-*.zip` files under **Downloads**). @@ -33,11 +33,11 @@ Setup ===== First, obtain the Protocol Compiler. The easiest way is to download -a pre-built binary from [https://github.com/google/protobuf/releases](https://github.com/google/protobuf/releases). +a pre-built binary from [https://github.com/protocolbuffers/protobuf/releases](https://github.com/protocolbuffers/protobuf/releases). If you want, you can compile `protoc` from source instead. To do this follow the instructions in [the top-level -README](https://github.com/google/protobuf/blob/master/src/README.md). +README](https://github.com/protocolbuffers/protobuf/blob/master/src/README.md). Once you have `protoc` compiled, you can run the tests by typing: @@ -135,7 +135,7 @@ The syntax of the `--js_out` flag is: Where `OPTIONS` are separated by commas. Options are either `opt=val` or just `opt` (for options that don't take a value). The available options are specified and documented in the `GeneratorOptions` struct in -[src/google/protobuf/compiler/js/js_generator.h](https://github.com/google/protobuf/blob/master/src/google/protobuf/compiler/js/js_generator.h#L53). +[src/google/protobuf/compiler/js/js_generator.h](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/compiler/js/js_generator.h#L53). Some examples: diff --git a/js/package.json b/js/package.json index dd5b6371..8aaf0d43 100644 --- a/js/package.json +++ b/js/package.json @@ -19,7 +19,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/google/protobuf/tree/master/js" + "url": "https://github.com/protocolbuffers/protobuf/tree/master/js" }, "author": "Google Protocol Buffers Team", "license": "BSD-3-Clause" |