Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1309 closed bug (fixed)

className.has(undefined) and className.add(undefined) should fail gracefully

Reported by: keithorama Owned by: brandon
Priority: minor Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

Description

it looks like className.remove() handles the case where the parameter is undefined. The has() and add() methods blow up. Would be nice if they didn't

Attachments (1)

jquery.diff (1.2 KB) - added by keithorama 16 years ago.
patch to check for non-string input on className.*

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by keithorama

Attachment: jquery.diff added

patch to check for non-string input on className.*

comment:1 Changed 16 years ago by brandon

Owner: set to brandon

comment:2 Changed 16 years ago by brandon

Resolution: fixed
Status: newclosed

Fixed in Rev [2436].

comment:3 Changed 16 years ago by brandon

Milestone: 1.1.31.1.4
Version: 1.1.21.1.3
Note: See TracTickets for help on using tickets.