Deprecate jQuery.nodeName, remove in 4.0 #3475
Comments
mgol
added Behavior Change Core Needs review
labels
Dec 27, 2016
mgol
added this to the
4.0.0
milestone
Dec 27, 2016
|
If we want to remove it in 4.0, we should deprecate in 3.2. |
|
We can't deprecate something that's not documented. :) It's more than deprecated. |
|
@mgol I'd still like to give notice. We're doing the same for other undocumented functions that we plan on removing. While not required, you might call it courteous. |
timmywil
removed the
Needs review
label
Jan 9, 2017
timmywil
modified the milestone: 3.2.0, 4.0.0
Jan 9, 2017
timmywil
changed the title from
Hide jQuery.nodeName to Deprecate jQuery.nodeName, remove in 4.0
Jan 9, 2017
|
Hello . i think ,to fix up this issue, jquery.nodeName function should be removed from src/core.js and added to src/deprecated.js. Correct me if i am wrong or if i am missing something.Can i take up this issue and work with this approach? |
timmywil
referenced
this issue
in jquery/jquery-migrate
Jan 16, 2017
Open
Warn about jQuery.nodeName removal #246
|
@karan-96 That would be great! You'll find information on how to contribute here, with info on commits and PRs here. As far as the required work for this issue, that should be all the work needed for jQuery core. We'll also want to add a warning to the jQuery migrate plugin. |
karan-96
added a commit
to karan-96/jquery
that referenced
this issue
Jan 17, 2017
|
|
karan-96 |
75ee2f3
|
karan-96
added a commit
to karan-96/jquery
that referenced
this issue
Jan 17, 2017
|
|
karan-96 |
09e5246
|
|
Just to clarify what has to be done here, I know it's got a PR at gh-3505 but we have to eliminate internal calls in order to warn about it in jQuery Migrate.
Does that sound right to everyone? |
|
@dmethvin yes, that's exactly what I said in #3505 (comment) a few days ago. :) |
|
(although it seems it doesn't have to be a var-module in case of an exported function) |
|
@mgol oh sorry, I missed that! |
karan-96
added a commit
to karan-96/jquery
that referenced
this issue
Jan 27, 2017
|
|
karan-96 + |
ce8974d
|
karan-96
pushed a commit
to karan-96/jquery
that referenced
this issue
Jan 27, 2017
|
|
23eb560
|
karan-96
pushed a commit
to karan-96/jquery
that referenced
this issue
Jan 27, 2017
|
|
5ec2bcd
|
karan-96
pushed a commit
to karan-96/jquery
that referenced
this issue
Jan 28, 2017
|
|
e56c8e1
|
mgol
added the
Has Pull Request
label
Feb 13, 2017
mgol
self-assigned this
Feb 13, 2017
karan-96
added a commit
to karan-96/jquery
that referenced
this issue
Feb 16, 2017
|
|
karan-96 + |
df46809
|
karan-96
pushed a commit
to karan-96/jquery
that referenced
this issue
Feb 16, 2017
|
|
41a01c3
|
karan-96
pushed a commit
to karan-96/jquery
that referenced
this issue
Feb 16, 2017
|
|
9f3d2e8
|
karan-96
pushed a commit
to karan-96/jquery
that referenced
this issue
Feb 16, 2017
|
|
78e1c0c
|
karan-96
pushed a commit
to karan-96/jquery
that referenced
this issue
Feb 16, 2017
|
|
a4ad702
|
karan-96
pushed a commit
to karan-96/jquery
that referenced
this issue
Feb 21, 2017
|
|
1bc3de5
|
mgol
closed this
in ac9e301
Mar 1, 2017
wmfphab
pushed a commit
to wikimedia/mediawiki
that referenced
this issue
Mar 18, 2017
|
|
67bb65b
|
mgol commentedDec 27, 2016
Description
jQuery.nodeNameis another undocumented utility function that's exposed on the jQuery object. We should remove it (probably in 4.0 as it's been there for a long time).Link to test case
https://jsfiddle.net/o648k3ga/1/