-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Add getOrCreateInstance
method in base-component
#33276
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is commented code also 😁
Commented code is gone, unrelated reverted, method is renamed :) |
3e188d8
to
6756bd5
Compare
6756bd5
to
c53ac10
Compare
6d6c8fe
to
e64567f
Compare
c9a751c
to
a1aeb58
Compare
a1aeb58
to
d4ed6fa
Compare
d4ed6fa
to
2f5e05a
Compare
I'd rather not get the further refactoring PRs in v5.0.0 to not risk to break something so close to the release. There's plenty of time in 5.0.1 or 5.1.0. |
stable 5.0.0 is the most important thing for now. The next thing, I bet are some of the refactorings |
60f8aff
to
6ecb5fd
Compare
0be5583
to
ce08bb5
Compare
c11b060
to
8ca1f63
Compare
I have added the proper documentation. So do we need something more in order to proceed? |
…lready exists Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
89d1636
to
4e7acbe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, from my side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/CC @mdo for the documentation, if required
@@ -3,7 +3,7 @@ import EventHandler from '../../src/dom/event-handler' | |||
import { noop } from '../../src/util/index' | |||
|
|||
/** Test helpers */ | |||
import { getFixture, clearFixture, jQueryMock, createEvent } from '../helpers/fixture' | |||
import { clearFixture, createEvent, getFixture, jQueryMock } from '../helpers/fixture' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must be using any code formatter in your IDE 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HAHAHA jetBrains like them sorted 😋
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
getOrCreateInstance
method in base-component
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
can be