Bug Tracker

Ticket #235 (closed 1: duplicate)

Opened 2 years ago

Last modified 1 year ago

Simon

Reported by: 3568@… Assigned to: anonymous
Type: 1 Priority: 1
Milestone: 1 Component: 1
Version: 1 Keywords: Simon
Cc: Simon Needs:

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

Attachments

Change History

Changed 2 years ago by joern

  • status changed from new to closed
  • resolution set to duplicate

Changed 2 years ago by Simon

  • cc set to Simon
  • component set to 1
  • summary changed from add does not merge sets to Simon
  • priority set to 1
  • version set to 1
  • milestone set to 1
  • keywords changed from add set merge to Simon
  • type set to 1
Note: See TracTickets for help on using tickets.