Opened 12 years ago
Closed 12 years ago
#7200 closed enhancement (fixed)
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.jquery
version 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?
Change History (7)
comment:1 Changed 12 years ago by
Component: | unfiled → core |
---|---|
Keywords: | docs added |
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 12 years ago by
comment:3 follow-up: 4 Changed 12 years ago by
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".
comment:4 Changed 12 years ago by
Replying to 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
comment:5 Changed 12 years ago by
Milestone: | 1.4.4 → 1.5 |
---|
Retarget all enhancements/features to next major version.
comment:6 Changed 12 years ago by
Keywords: | needsdocs added; docs removed |
---|---|
Milestone: | → 1.next |
comment:7 Changed 12 years ago by
Keywords: | needsdocs removed |
---|---|
Resolution: | → fixed |
Status: | open → closed |
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 tojQuery.type
is that it will work when handed something that isn't an object.