Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13722 closed feature (fixed)

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:
Blocked by: Blocking:

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 (4)

comment:1 Changed 10 years ago by gibson042

Owner: set to gibson042
Status: newassigned

comment:2 Changed 10 years ago by markelog

Component: unfiledmanipulation
Priority: undecidedhigh

comment:3 Changed 10 years ago by gibson042

Milestone: None1.10

comment:4 Changed 10 years ago by gibson042

Milestone: 1.101.10/2.0
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.