Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#235 closed (duplicate)

Simon

Reported by: 3568@… Owned by:
Priority: Milestone:
Component: Version:
Keywords: Simon, SPAM Cc:
Blocked by: Blocking:

Description

if we have var s1=$('td.s1'), s2=$('td.s2') then s1.add(s2) is expected to add all elements of set s2 into set s1, but instead it's adding whole set s2 as one element of s1 which forces me to write expanding code like that: s2.each(function(){s1.add(this)})

Change History (4)

comment:1 Changed 13 years ago by joern

Resolution: duplicate
Status: newclosed

comment:2 Changed 13 years ago by Simon

Cc: Simon added
Component: 1
Keywords: Simon added; add set merge removed
Milestone: 1
Priority: 1
Summary: add does not merge setsSimon
Type: 1
Version: 1

comment:3 Changed 9 years ago by snover

Component: 1
Milestone: 1
Priority: 1
Type: 1
Version: 1

comment:4 Changed 9 years ago by snover

Cc: Simon removed
Keywords: SPAM added
Note: See TracTickets for help on using tickets.