Bug Tracker

Opened 4 years ago

Closed 4 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 4 years ago by gibson042

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

comment:2 Changed 4 years ago by markelog

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

comment:3 Changed 4 years ago by gibson042

  • Milestone changed from None to 1.10

comment:4 Changed 4 years ago by gibson042

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