mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 09:42:21 -04:00
JSCS Says Goodbye
This commit is contained in:
parent
0252495eca
commit
15887994fe
10 changed files with 83 additions and 60 deletions
|
@ -48,8 +48,9 @@
|
|||
// The dummy class constructor
|
||||
function Class() {
|
||||
// All construction is actually done in the init method
|
||||
if (!initializing && this.init)
|
||||
this.init.apply(this, arguments);
|
||||
if (!initializing && this.init) {
|
||||
this.init.apply(this, arguments);
|
||||
}
|
||||
}
|
||||
|
||||
// Populate our constructed prototype object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue