-
Notifications
You must be signed in to change notification settings - Fork 264
Update notes.xsl #673
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
Update notes.xsl #673
Conversation
Fix issue jquery#586.
The |
@arthurvr In this case I vote for splitting the two notes as they have a different behavior. If everyone agrees I'll modify the PR to include an additional note specific for |
Seems fine. |
Seems like we need to split the two, I agree. How do you guys feel about
Have we standardised on UK English? Oh I mean, standardized. 😄 I guess I never noticed before. |
To be honest I feel more like P.S. British English vs American English: their differences will kill me. |
I had forgotten about #523. It's tough because I think a good argument can be made either way. I agree with you that removing the data item feels best, but it would certainly be a breaking change as @gibson042 pointed out. It's hard to know whether a lot of plugins and developers depend on the current no-op behavior. |
@dmethvin What if we introduce this BC in jQuery 3.0? |
If very few people depend on this (or those people don't upgrade) then it would be nice to eliminate this kind of strange exception. If it turns out that several high-profile popular plugins break because we change this, then it would be a real pain to do and it would prevent people from upgrading to 3.0. I don't know which applies. 😄 |
@dmethvin we're all in your hands :) |
I'll leave the hard decisions to @timmywil now! Sucker! |
@AurelioDeRosa Besides from the discussion above, this PR needs some updates. Would you like to do them? I'd love to land this. |
Sorry I missed this. I think this can be landed. As far as #523, I think we'll need to gauge how much it will break. Personally, I always saw undefined as it's own value and thought it was most intuitive for |
I can def. agree with @timmywil. |
So, I understand the conclusion is "Let's leave things as they are in regard of |
Thank you, @AurelioDeRosa! |
@AurelioDeRosa You've got the chance to update this PR? Would love to land it. |
ping @AurelioDeRosa |
Updated notes
Updated note reference
PR updated @arthurvr |
@@ -2,6 +2,9 @@ | |||
<xsl:template name="note"> | |||
<xsl:choose> | |||
<xsl:when test="@id = 'data-doesnt-accept-undefined'"> | |||
<code>undefined</code> is not recognised as a data value. Calls such as <code><xsl:value-of select="@data-title" />( <xsl:value-of select="@data-parameters" />, undefined )</code> will return the jQuery object that it was called on, allowing for chaining. |
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.
recognised
We use American English. Could you fix that on the while in the jquery-data-doesnt-accept-undefined
note?
Replaced recognised with recognized.
Fix issue #586.