From 79c5895f2f02a9e42ca9718c759f5053a1c2c3f0 Mon Sep 17 00:00:00 2001 From: Alex M Date: Wed, 24 Aug 2016 21:07:11 +0300 Subject: [PATCH] [Documentation] Fix code formatting --- docs/src/tutorials/index.md | 54 ++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/docs/src/tutorials/index.md b/docs/src/tutorials/index.md index 84c571bec8..208026a20b 100644 --- a/docs/src/tutorials/index.md +++ b/docs/src/tutorials/index.md @@ -2346,35 +2346,35 @@ 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" - } - ], - "roots": [ - { - "id": "example:sc", - "priority": "preferred", - "model": { - "type": "example.spacecraft", - "name": "My Spacecraft", - "composition": [] + 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": [] + } + } + ] + } + }); }); -}); __tutorials/telemetry/bundle.js__ Here, we've created our initial telemetry plugin. This exposes a new domain