Opened 14 years ago
Closed 14 years ago
#3718 closed bug (invalid)
$.map, without any selected values, $.map won't work
Reported by: | carl-johan.blomqvist | Owned by: | flesler |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | map | Cc: | carl-johan.blomqvist |
Blocked by: | Blocking: |
Description
for example:
$("html").map(function() {
if( false ) { return $("div"); } else { return $("p"); }
}
will return all p's, but:
$("div.doesnotexist").map(function() {
if( false ) { return $("div"); } else { return $("p"); }
}
won't.
Change History (1)
comment:1 Changed 14 years ago by
Cc: | carl-johan.blomqvist added |
---|---|
Component: | unfilled → core |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
That's the expected behavior. Check the docs.