-
-
Notifications
You must be signed in to change notification settings - Fork 79.2k
add information about valid selectors #27137
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
glebm
left a comment
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.
Thanks!
|
I'm personally thinking we might need to revert this change. I mean, technically we are right, but it is a breaking change... That being said, I'd change this one to a warning or something to make it stand out maybe. |
|
That's not a breaking change @XhmikosR because that's what we shipped in our last release see: https://github.com/twbs/bootstrap/blob/v4.1.3/js/src/util.js#L78-L89 That's exactly the same code, we just add some information about valid selectors |
|
Yes, I meant when this was added, not the revert. |
|
Oh ok 😄 |
aca3a42 to
2032e20
Compare
|
@Johann-S: is it hard to revert the related changes? If it's too hard let's leave it as is and make this a warning. But ideally we shouldn't introduce breaking changes. |
|
Is it a bit hard, plus it'll reopen issues about perfs we closed thanks to that change |
2032e20 to
e7ee333
Compare
|
I don't know at this point. When was this introduced? 4.1.3 or older? |
|
It was on 4.1.2 |
Finally I revert this code, because there are a lot of use case to detect a valid uniq
id, so it's better to add information about that in documentation