Deprecate jQuery.isArray #2961
Comments
markelog
added this to the
3.1.0
milestone
Feb 29, 2016
|
|
markelog
added the
Core
label
Mar 3, 2016
tkdphoenix
commented
Mar 16, 2016
|
agreed |
|
I guess it's worth moving
|
|
Nice find, but with this ticket we would need to move it to |
|
That's a calculation with the following code in jQuery.extend( {
isArray: isArray
} ); |
|
You mean gzip size will also change in identical manner if we move it to |
|
That's the result of having both |
|
Deprecation would mean that we:
so we can't have the |
|
Right, but as other built-in methods ( |
|
So you propose to put |
|
That's right. Sorry for not explaining that before. |
|
I wouldn't want size to influence our file hierarchy, it would be pretty confusing, also all deprecated modules should be stored in |
|
@markelog I agree to an extent but @FarSeeing only proposes to put Array.isArray in a var-module, not the soon-to-be-deprecated jQuery.isArray; see our last 2 comments. |
|
Oh, i see, but i wouldn't do that too :), don't really see the point |
ShashankaNataraj
commented
Apr 24, 2016
|
Guys, is there a possibility of me submitting a PR for this? |
|
@ShashankaNataraj Sure! Do you know what needs to be done? |
|
I would wait until we would have discussion about this, it seems some team members feel "deprecation" process of core methods might be inappropriate. |
ShashankaNataraj
commented
Jul 11, 2016
•
|
Also, the third item - its unit tests have to be moved to jQuery.isArray as Also, if this hasn't been mentioned before - each deprecation, apart from a Michał Gołębiowski |
ShashankaNataraj
referenced
this issue
in jquery/api.jquery.com
Jul 11, 2016
Open
Deprecate jQuery.isArray docs changes #950
ShashankaNataraj
commented
Jul 11, 2016
•
|
@mgol Didnt get what you meant by
I understand unit tests need to be modified but jQuery.isArray tests need to be removed right? Actually I have been raising issues like this for every deprecation issue Im working on.. Raised one for this issue too. |
Not removed but moved to
I've seen them, thanks for that! I meant that apart from the API issue we also need an issue at https://github.com/jquery/jquery-migrate/issues about a need to restore the API (because people may exclude the deprecated module) with a warning against using it. |
|
@ShashankaNataraj seems not to be working on this. Can I please take this ? |
|
Correct me, for any changes
|
markelog commentedFeb 29, 2016
Seems fulfilled with
Array.isArray