File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,19 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
59
59
<span
60
60
className = " c2"
61
61
>
62
- Description :
62
+ Definition :
63
63
</span >
64
- This pattern restricts object creation for a class to only one instance.
64
+ Ensure a class has only one instance and provide a global point of access to it.
65
+ </p >
66
+ <p >
67
+ <span
68
+ className = " c2"
69
+ >
70
+ Use when…
71
+ </span >
72
+ …
73
+ there must by only one instance of a class
74
+ .
65
75
</p >
66
76
<h3 >
67
77
ES5
Original file line number Diff line number Diff line change @@ -295,9 +295,19 @@ exports[`Patterns page renders the individual Pattern (Singleton) info 1`] = `
295
295
<span
296
296
className = " c2"
297
297
>
298
- Description :
298
+ Definition :
299
299
</span >
300
- This pattern restricts object creation for a class to only one instance.
300
+ Ensure a class has only one instance and provide a global point of access to it.
301
+ </p >
302
+ <p >
303
+ <span
304
+ className = " c2"
305
+ >
306
+ Use when…
307
+ </span >
308
+ …
309
+ there must by only one instance of a class
310
+ .
301
311
</p >
302
312
<h3 >
303
313
ES5
You can’t perform that action at this time.
0 commit comments