Skip to content

Commit 0488f8a

Browse files
authored
new approach for singleton
1 parent 0e2785e commit 0488f8a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

singleton/src/singleton.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,5 @@ namespace Singleton {
1717
// return the singleton object
1818
return this.__singleton
1919
}
20-
public getSingletonName(name: string) {
21-
alert(`Singleton is ${name}`)
22-
}
2320
}
2421
}

0 commit comments

Comments
 (0)