Bug Tracker

Ticket #13722 (closed feature: fixed)

Opened 19 months ago

Last modified 18 months ago

replaceWith argument handling is inconsistent with other manipulation methods

Reported by: gibson042 Owned by: gibson042
Priority: high Milestone: 1.10/2.0
Component: manipulation Version: 1.9.1
Keywords: Cc:
Blocking: Blocked by:

Description

(from  https://github.com/jquery/jquery/pull/1163#commitcomment-2582368)

Manipulation methods generally accept any number of arguments, joining them together for the actual DOM manipulation step. .replaceWith should do the same.

 http://jsfiddle.net/KVuEK/

Change History

comment:1 Changed 19 months ago by gibson042

  • Owner set to gibson042
  • Status changed from new to assigned

comment:2 Changed 19 months ago by markelog

  • Priority changed from undecided to high
  • Component changed from unfiled to manipulation

comment:3 Changed 19 months ago by gibson042

  • Milestone changed from None to 1.10

comment:4 Changed 18 months ago by gibson042

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone changed from 1.10 to 1.10/2.0
Note: See TracTickets for help on using tickets.