-
-
Notifications
You must be signed in to change notification settings - Fork 10
Add support for Component.$() as part of RFC386 #27
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
Conversation
ddfcfc6
to
e017d85
Compare
e017d85
to
2f5bb77
Compare
@rwjblue this is ready for review now:
|
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.
One minor nit, but looks good otherwise...
vendor/jquery/component.dollar.js
Outdated
(function() { | ||
Ember.Component.reopen({ | ||
$(sel) { | ||
Ember.assert( |
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.
Now that I think about it, I think we do need to use:
import { assert } from '@ember/debug';
to get the proper stripping...
IMHO, this is safe (even when we move Ember to real modules, we would still handle this specially).
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.
fd8cfcb
to
c1e640c
Compare
No description provided.