From 143ee8dfbb448daff23a98911e89dcee5ac760c2 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Fri, 31 Mar 2017 18:24:27 -0700 Subject: [PATCH] rippleapi beginners tutorial: replace broken strict mode link --- content/tutorial-rippleapi-beginners-guide.md | 2 +- tutorial-rippleapi-beginners-guide.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/tutorial-rippleapi-beginners-guide.md b/content/tutorial-rippleapi-beginners-guide.md index e077744716..451ffb5cf2 100644 --- a/content/tutorial-rippleapi-beginners-guide.md +++ b/content/tutorial-rippleapi-beginners-guide.md @@ -120,7 +120,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://www.nczonline.net/blog/2012/03/13/its-time-to-start-using-javascript-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. See also: [Restrictions on Code in Strict Mode](https://msdn.microsoft.com/library/br230269%28v=vs.94%29.aspx#Anchor_1). 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.js). diff --git a/tutorial-rippleapi-beginners-guide.html b/tutorial-rippleapi-beginners-guide.html index 24df438413..f348dae171 100644 --- a/tutorial-rippleapi-beginners-guide.html +++ b/tutorial-rippleapi-beginners-guide.html @@ -265,7 +265,7 @@ done and disconnected.
'use strict';
 const RippleAPI = require('ripple-lib').RippleAPI;
 
-

The opening line enables strict mode. This is purely optional, but it helps you avoid some common pitfalls of JavaScript. See also: Restrictions on Code in Strict Mode.

+

The opening line enables strict mode. This is purely optional, but it helps you avoid some common pitfalls of JavaScript. See also: Restrictions on Code in Strict Mode.

The second line imports RippleAPI into the current scope using Node.js's require function. RippleAPI is one of the modules ripple-lib exports.

Instantiating the API

const api = new RippleAPI({