Fix history sharding, update links

This commit is contained in:
mDuo13
2018-11-07 17:42:27 -08:00
parent 442beb93e1
commit 4c34a93ac7
6 changed files with 30 additions and 7 deletions

View File

@@ -117,7 +117,7 @@ In addition to RippleAPI-specific code, this script uses syntax and conventions
const RippleAPI = require('ripple-lib').RippleAPI;
```
The opening line enables [strict mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode). This is purely optional, but it helps you avoid some common pitfalls of JavaScript. See also: [Restrictions on Code in Strict Mode](https://msdn.microsoft.com/library/br230269%28v=vs.94%29.aspx#Anchor_1).
The opening line enables [strict mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode). This is purely optional, but it helps you avoid some common pitfalls of JavaScript.
The second line imports RippleAPI into the current scope using Node.js's require function. RippleAPI is one of [the modules `ripple-lib` exports](https://github.com/ripple/ripple-lib/blob/develop/src/index.ts).