Skip to content
Snippets Groups Projects
Commit 2159c879 authored by Bryce Johnson's avatar Bryce Johnson
Browse files

Fix spacing in code sample.

parent 7f0ac04d
No related branches found
No related tags found
1 merge request!6620Decide on and document a convention for singletons
Pipeline #
Loading
@@ -227,6 +227,7 @@ class MyThing {
Loading
@@ -227,6 +227,7 @@ class MyThing {
gl.MyThing = new MyThing(); gl.MyThing = new MyThing();
   
// best // best
let singleton; let singleton;
   
class MyThing { class MyThing {
Loading
@@ -246,6 +247,7 @@ class MyThing {
Loading
@@ -246,6 +247,7 @@ class MyThing {
} }
   
gl.MyThing = MyThing; gl.MyThing = MyThing;
``` ```
   
## Supported browsers ## Supported browsers
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment