Ticket #52 (closed task: fixed)

Opened 4 years ago

Last modified 3 years ago

painting

Reported by: chofreither Owned by: somebody
Priority: lowest Milestone: MochiKit 1.4
Component: component1 Version: 1.0
Severity: blocker Keywords: painting
Cc: painting

Description

When you do something like

appendChildNodes('theform',
	map(partial(P, null), ['test1', 'test2']),
	P(null, 'test3')
);

the output is in the order test3, test1, test2 because when it encounters an array, appendChildNodes pushes its contents onto the end of the nodeStack (via iextend), which clearly is not the expected behavior.

Change History

Changed 4 years ago by bob@…

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

Good catch, fixed in [612]

Changed 3 years ago by anonymous

  • severity changed from normal to blocker
  • cc painting added
  • summary changed from appendChildNodes messes up order with array to painting
  • priority changed from normal to lowest
  • version set to 1.0
  • milestone set to MochiKit 1.4
  • keywords painting added
  • type changed from defect to task
Note: See TracTickets for help on using tickets.