From 2159c8792b289bb27f9947fb834fbd497efeeb28 Mon Sep 17 00:00:00 2001
From: Bryce Johnson <bryce@gitlab.com>
Date: Tue, 1 Nov 2016 20:40:01 +0100
Subject: [PATCH] Fix spacing in code sample.

---
 doc/development/frontend.md | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/development/frontend.md b/doc/development/frontend.md
index 735b41314ef..c6aafc926ee 100644
--- a/doc/development/frontend.md
+++ b/doc/development/frontend.md
@@ -227,14 +227,15 @@ class MyThing {
 gl.MyThing = new MyThing();
 
 // best
+
 let singleton;
 
 class MyThing {
   constructor() {
     if (!singleton) {
-       singleton = this;
-       singleton.init();
-     }
+      singleton = this;
+      singleton.init();
+    }
       return singleton;
   }
 
@@ -246,6 +247,7 @@ class MyThing {
 }
 
 gl.MyThing = MyThing;
+
 ```
 
 ## Supported browsers
-- 
GitLab