From 5161205a062d7f762144ca4f007bfffca22a0d47 Mon Sep 17 00:00:00 2001 From: Alex M Date: Wed, 24 Aug 2016 22:45:55 +0300 Subject: [PATCH] [Documentation] Switch Step 1 to fenced --- docs/src/tutorials/index.md | 56 +++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/docs/src/tutorials/index.md b/docs/src/tutorials/index.md index 208026a20b..c2633baf02 100644 --- a/docs/src/tutorials/index.md +++ b/docs/src/tutorials/index.md @@ -2346,35 +2346,37 @@ add a top-level object which will serve as a container; in the next step, we will populate this with the contents of the telemetry dictionary (which we will retrieve from the server.) - define([ - 'legacyRegistry' - ], function ( - legacyRegistry - ) { - legacyRegistry.register("tutorials/telemetry", { - "name": "Example Telemetry Adapter", - "extensions": { - "types": [ - { - "name": "Spacecraft", - "key": "example.spacecraft", - "glyph": "o" +```diff +define([ + 'legacyRegistry' +], function ( + legacyRegistry +) { + legacyRegistry.register("tutorials/telemetry", { + "name": "Example Telemetry Adapter", + "extensions": { + "types": [ + { + "name": "Spacecraft", + "key": "example.spacecraft", + "glyph": "o" + } + ], + "roots": [ + { + "id": "example:sc", + "priority": "preferred", + "model": { + "type": "example.spacecraft", + "name": "My Spacecraft", + "composition": [] } - ], - "roots": [ - { - "id": "example:sc", - "priority": "preferred", - "model": { - "type": "example.spacecraft", - "name": "My Spacecraft", - "composition": [] - } - } - ] - } - }); + } + ] + } }); +}); +``` __tutorials/telemetry/bundle.js__ Here, we've created our initial telemetry plugin. This exposes a new domain