-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where possible, convert to es6 classes. #5860
Labels
internal
External contributions not accepted
Comments
This was referenced Jan 7, 2022
3 tasks
This was referenced Jan 12, 2022
3 tasks
This was referenced Feb 4, 2022
3 tasks
This was referenced Feb 15, 2022
3 tasks
This was referenced Feb 23, 2022
|
This was referenced Mar 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problematic classes (an incomplete list):
generator.js
(Handled in refactor: convert some classes to ES6 classes #5928)@unrestricted
annotation on the class. --@rachel-fenichelObject.defineProperties
to add a property to the prototype.options.js
(Handled in refactor: convert some classes to ES6 classes #5928)setMetrics
andgetMetrics
) that don't always exist, but are declared for type purposes. Uses check whether these functions exist.@type {function(....):... | undefined}
. --@cpcallenshortcut_registry.js
(Handled in refactor: convert registry files to es6 classes #5940)contextmenu_registry.js
(Handled in refactor: convert registry files to es6 classes #5940)registry.js
(Handled in refactor: convert registry files to es6 classes #5940)block_svg.js
(Handled in refactor: convert blocksvg and block to ES6 classes #5952)block.js
(Handled in refactor: convert blocksvg and block to ES6 classes #5952)Toolbox
toolbox/category.js
(Handled in refactor: convert toolbox items to ES6 classes #5947)CollapsibleCategory
)toolbox/collapsible_category.js
(Handled in refactor: convert toolbox items to ES6 classes #5947)registrationName
static property, which the subclass overrides. The property isn't overridden yet when the superclass constructor is called.toolbox/toolbox_item.js
(Handled in refactor: convert toolbox items to ES6 classes #5947)ToolboxCategory
)Rendering:
renderers/geras/path_object.js
(Handled in refactor: convert PathObject to an ES6 class #5954)renderers/common/path_object.js
(Handled in refactor: convert PathObject to an ES6 class #5954)renderers/measurables/row.js
(Handled in refactor: convert row.js and base.js to ES6 classes #5957)followsStatement
,nextRightEdge
, andrightAlignedDummyInput
) that don't really belong on this class. I could just add and describe them anyway, marked as package, if really necessary.renderers/measurables/base.js
(Handled in refactor: convert row.js and base.js to ES6 classes #5957)measurables/row.js
Fields:
field.js
(Handled in refactor: Convert fields to ES6 classes #5943)field_textinput.js
(Handled in refactor: Convert fields to ES6 classes #5943)this.spellcheck_ = true
before calling the super constructor, and breaks if the order changes.field_number.js
(Handled in refactor: Convert fields to ES6 classes #5943)field_image.js
(Handled in refactor: Convert fields to ES6 classes #5943)field_dropdown.js
(Handled in refactor: Convert fields to ES6 classes #5943)field_colour.js
(Handled in refactor: Convert fields to ES6 classes #5943)field_variable.js
(Handled in refactor: Convert fields to ES6 classes #5943)field_angle.js
(Handled in refactor: Convert fields to ES6 classes #5943)Events:
events_abstract.js
(Handled in refactor: convert some classes to ES6 classes #5928)workspace_events.js
(Handled in refactor: convert some classes to ES6 classes #5928)The text was updated successfully, but these errors were encountered: