Skip to main content

Bug Tracker

Side navigation

#7163 closed bug (worksforme)

Opened October 12, 2010 01:26PM UTC

Closed October 12, 2010 01:48PM UTC

Calling data() on an empty set throws "TypeError: a is undefined"

Reported by: Tgr Owned by:
Priority: undecided Milestone: 1.4.3
Component: data Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Calling $('noSuchElement').data() throws a type error in jQuery 1.4.2. I do not have an unminified version at hand, in the minified version Firebug indicates line 39.

Attachments (0)
Change History (1)

Changed October 12, 2010 01:48PM UTC by john comment:1

resolution: → worksforme
status: newclosed

This was resolved in jQuery 1.4.3.