Opened 13 years ago
Closed 13 years ago
#6434 closed bug (fixed)
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
Change History (3)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
need: | Review → Commit |
---|
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Patch: http://github.com/rdworth/jquery/commit/13b5152e7c45f95649e8b05d9435325fa65de480