flake8
passed.
JSHint
passed.
Review Request #12905 — Created March 21, 2023 and submitted
Information | |
---|---|
chipx86 | |
Spina | |
master | |
Reviewers | |
beanbag-misc | |
Previously, mixins had to be class definitions with a prototype. Now,
they can be plain objects as well.This enhances the capabilities of mixins, allowing interoperability with
mixins in legacy Backbone codebases that previously used_.extend()
to
mix prototypes together.
Made use of this in Review Board with plain objects and classes as mixins.
They properly mixed in.
Summary | |
---|---|
Description | From | Last Updated |
---|---|---|
This can be const name because we don't reassign it in the body of the loop. |
|
src/objects.ts (Diff revision 1) |
---|
This can be
const name
because we don't reassign it in the body of the loop.