зеркало из https://github.com/mozilla/pjs.git
Correcting an error: 'this' should have been contained inside constructor functions.
This commit is contained in:
Родитель
e298cfc514
Коммит
2abdc26434
|
@ -71,8 +71,11 @@ class C2 extends C1
|
|||
|
||||
static class C3
|
||||
{
|
||||
this.texture = 'smooth';
|
||||
this.width = 0;
|
||||
constructor function C3()
|
||||
{
|
||||
this.texture = 'smooth';
|
||||
this.width = 0;
|
||||
}
|
||||
}
|
||||
|
||||
class C4 extends C3
|
||||
|
@ -81,8 +84,11 @@ class C4 extends C3
|
|||
|
||||
dynamic class C5
|
||||
{
|
||||
this.texture = 'smooth';
|
||||
this.width = 0;
|
||||
constructor function C5()
|
||||
{
|
||||
this.texture = 'smooth';
|
||||
this.width = 0;
|
||||
}
|
||||
}
|
||||
|
||||
class C6 extends C5
|
||||
|
|
Загрузка…
Ссылка в новой задаче