Skip to content

Commit 766171e

Browse files
committed
README [ci skip]
1 parent 75f4b6c commit 766171e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ Compatibility
481481

482482
* Because the internals of this package do not rely on `google/protobuf/descriptor.proto`, options are parsed and presented literally.
483483
* If typed arrays are not supported by the environment, plain arrays will be used instead.
484-
* Support for pre-ES5 environments like IE8 can be achieved by [using a polyfill](https://github.com/dcodeIO/protobuf.js/blob/master/scripts/polyfill.js) and, instead of using property getters and setters on reflection objects, calling the respective functions prefixed with `get`, `set` or `is` directly (i.e. calling `Type#getFieldsById()` instead of accessing `Type#fieldsById`).
484+
* Support for pre-ES5 environments like IE8 can be achieved by [using a polyfill](https://github.com/dcodeIO/protobuf.js/blob/master/scripts/polyfill.js) and, instead of using property getters and setters on reflection objects, calling the respective functions prefixed with `get`, `set` or `is` directly (i.e. calling `Type#getFieldsById()` instead of accessing `Type#fieldsById`). Note that this also applies to virtual oneof properties (use `getKind`, `setKind` for example if the oneof is named `kind`).
485485
* If you need a proper way to work with 64 bit values (uint64, int64 etc.), you can install [long.js](https://github.com/dcodeIO/long.js) alongside this library. All 64 bit numbers will then be returned as a `Long` instance instead of a possibly unsafe JavaScript number ([see](https://github.com/dcodeIO/long.js)).
486486

487487
**License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html), bundled external libraries may have [their own license](https://github.com/dcodeIO/protobuf.js/tree/master/lib)

Diff for: src/util/extend/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var ChildPrototype = ParentClass.extend(ChildClass); // also inherits .extend it
2222
```js
2323
function GrandchildClass() {
2424
}
25-
var GrandchildClass = ChildClass.extend(GrandchildClass); // and so it goes forever
25+
var GrandchildPrototype = ChildClass.extend(GrandchildClass); // and so it goes forever
2626
```
2727

2828
**License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)

0 commit comments

Comments
 (0)