Commit Graph

63 Commits

Author SHA1 Message Date
Yehuda Katz
c4f144eeff avoid creating a new data cache if we don't need one. Also, short-circuit the case where $.data is used to get the cache id 2009-09-15 07:59:53 +00:00
Ariel Flesler
19cd84cf32 jquery data: adding missing semicolons 2009-09-15 01:02:18 +00:00
Ariel Flesler
a273120291 jquery data: closes #5224. Exposing the expando. 2009-09-14 22:34:04 +00:00
Yehuda Katz
991d039b62 Refactor queueing system to allow auto-dequeuing to use dequeue directly and
therefore require dequeue to always leave the element it has dequeued on
the queue.

  - In the fx queue, a progress sentinel is added when a queue element
    is dequeued.
  - The sentinel is ignored when dequeue is called explicitly
  - When adding a new element to the fx queue, queue() checks if
    the progress sentinel is present. If not, it calls dequeue()
2009-07-16 07:32:39 +00:00
Yehuda Katz
190812c3be Refactor jQuery.data a bit to reduce property lookups
- Also added jQuery.isEmptyObject
2009-07-16 07:32:31 +00:00
Yehuda Katz
d36d224cc5 Implemented .data() to get the entire data object. Closes #4284 2009-07-16 07:32:25 +00:00
Yehuda Katz
89dc1e0143 clearQueue and next should now work with default fx on all browsers 2009-07-13 22:21:40 +00:00
Yehuda Katz
72bb9dfe28 Fix dangling comma of death in data.js 2009-07-13 19:24:44 +00:00
Yehuda Katz
d857315967 Add clearQueue for clearing non-fx queues 2009-07-12 15:14:01 +00:00
Yehuda Katz
89b4bc53ca Added a next() shortcut for queues 2009-07-12 14:31:32 +00:00
Brandon Aaron
f8ef75eb91 remove trailing spaces 2009-03-23 01:55:17 +00:00
Ariel Flesler
a1ca9427ec jquery data: Fixed a weird patch merging issue from [6011] 2008-12-30 02:43:14 +00:00
Ariel Flesler
a09dac4406 jquery data: Oops.. forgot to commit the new data module. This is part of [6010]. 2008-12-30 02:40:04 +00:00