Skip to main content

Bug Tracker

Side navigation

#8221 closed enhancement (duplicate)

Opened February 09, 2011 01:21PM UTC

Closed April 15, 2011 03:41AM UTC

Last modified April 15, 2011 03:41AM UTC

removeAttr comments

Reported by: jerone Owned by: rwaldron
Priority: low Milestone: 1.next
Component: attributes Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

Why does removeAttr has an fn argument, but is it never used?

Second, why can't I remove multiple attributes and do I have to call removeAttr multiple times?

Attachments (0)
Change History (6)

Changed February 09, 2011 01:46PM UTC by rwaldron comment:1

description: Why does `removeAttr` has an `fn` argument, but is it never used? \ https://github.com/jquery/jquery/blob/master/src/attributes.js#L30 \ \ Second, why can't I remove multiple attributes and do I have to call `removeAttr` multiple times?Why does `removeAttr` has an `fn` argument, but is it never used? \ \ \ Second, why can't I remove multiple attributes and do I have to call `removeAttr` multiple times?
owner: → rwaldron
status: newassigned

Changed February 09, 2011 02:04PM UTC by jitter comment:2

For the "remove multiple attributes" there is already a ticket #5479

For the unused "fn" argument check this commit. Basically a left over which should be removed

Changed February 09, 2011 02:28PM UTC by jitter comment:3

component: unfiledattributes
priority: undecidedlow

Changed April 15, 2011 03:41AM UTC by timmywil comment:4

component: attributesselector
resolution: → duplicate
status: assignedclosed

fn has been removed. This is now just a duplicated.

Changed April 15, 2011 03:41AM UTC by timmywil comment:5

Duplicate of #5479.

Changed April 15, 2011 03:41AM UTC by timmywil comment:6

component: selectorattributes