Side navigation
#7200 closed enhancement (fixed)
Opened October 15, 2010 11:50AM UTC
Closed February 12, 2011 05:25AM UTC
Add .jquery to the official API
Reported by: | Nick_Craver | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | core | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The
$.fn.jqueryversion property
(http://github.com/jquery/jquery/blob/1.4.2/src/core.js#L170) isn't in the official API (http://api.jquery.com/) currently.
I don't think it's going anywhere given it's in core and been there since 1.0, but can we add it to the official API documentation to ensure it can be used without any (or less at least) fear of future breaking changes?
Attachments (0)
Change History (7)
Changed October 15, 2010 05:04PM UTC by comment:1
component: | unfiled → core |
---|---|
keywords: | → docs |
priority: | undecided → low |
status: | new → open |
Changed October 17, 2010 10:11AM UTC by comment:2
See also ticket #7224, a ticket for solving the same problem via the jQuery.type
function. Either way, really. Advantage to the property is that it's not a function call. Advantage to jQuery.type
is that it will work when handed something that isn't an object.
Changed October 17, 2010 07:50PM UTC by comment:3
The solution in #7224 does not, in fact, solve the same problem. jQuery.fn.jquery returns the actual version string, e.g., "1.4.3".
Changed October 19, 2010 12:10AM UTC by comment:4
Replying to [comment:3 ajpiano]:
The solution in #7224 does not, in fact, solve the same problem.
It solves the problem both Nick and I were addressing: http://stackoverflow.com/questions/3941621
Changed October 19, 2010 01:07AM UTC by comment:5
milestone: | 1.4.4 → 1.5 |
---|
Retarget all enhancements/features to next major version.
Changed February 12, 2011 01:09AM UTC by comment:6
keywords: | docs → needsdocs |
---|---|
milestone: | → 1.next |
Changed February 12, 2011 05:25AM UTC by comment:7
keywords: | needsdocs |
---|---|
resolution: | → fixed |
status: | open → closed |