Skip to content

Commit 5c64886

Browse files
Merge pull request #73 from sardiusss/patch-1
Remove unused extra parameter from ES6 example
2 parents 94c6b62 + 017446d commit 5c64886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/static/patterns/structural_flyweight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = colorCreator;`,
2929
}
3030
3131
class colorCreator {
32-
constructor(name) {
32+
constructor() {
3333
this.colors = {};
3434
}
3535

0 commit comments

Comments
 (0)