Skip to main content

Bug Tracker

Side navigation

#6434 closed bug (fixed)

Opened April 14, 2010 09:44AM UTC

Closed September 22, 2010 03:40PM UTC

Calling .data() on an empty set throws TypeError: Cannot call method 'split' of undefined

Reported by: rdworth Owned by:
Priority: Milestone: 1.4.3
Component: data Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

From http://forum.jquery.com/topic/jquery-does-not-exist-data-throws-exception

If you call .data() on an empty set an error is thrown:

TypeError: Cannot call method 'split' of undefined

Attachments (0)
Change History (3)

Changed June 18, 2010 01:36AM UTC by dmethvin comment:2

need: ReviewCommit

Changed September 22, 2010 03:40PM UTC by john comment:3

resolution: → fixed
status: newclosed