Bug Tracker

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:


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"); }



Change History (1)

comment:1 Changed 14 years ago by flesler

Cc: carl-johan.blomqvist added
Component: unfilledcore
Resolution: invalid
Status: newclosed

That's the expected behavior. Check the docs.

Note: See TracTickets for help on using tickets.