You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Utilities.createSubclass() can create one level of class inheritance. Utilities.extendObject() does not recursively extend the prototype of all the ancestors methods. The solution is to use ES6 classes. A step towards making Stage and its subclasses be ES6 classes is to move the Random methods out of Stage class.
The text was updated successfully, but these errors were encountered:
shallawa
added a commit
to shallawa/MotionMark
that referenced
this issue
Apr 29, 2024
WebKit#54
This is a step towards making Stage and its sub-classes be ES6 classes. To do
this the Random methods will be moved out of Stage class.
A new class Random will be added to hold the random methods as static methods.
This class will be put in a separate file. A production script can be used later
to merge all the JS files in a single file.
Utilities.createSubclass()
can create one level of class inheritance.Utilities.extendObject()
does not recursively extend the prototype of all the ancestors methods. The solution is to use ES6 classes. A step towards makingStage
and its subclasses be ES6 classes is to move theRandom
methods out ofStage
class.The text was updated successfully, but these errors were encountered: