aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2012-12-31 16:20:35 -0500
committerRick Waldron <waldron.rick@gmail.com>2012-12-31 16:23:20 -0500
commitb9cdc4136b688963d1dc4befb169be02a0216ba9 (patch)
treede7ba1926b318d4cdbd4491c1ab92fc44abc103e /src/event.js
parentd1de3000c6d50c298de14fb1ae3381d75c303723 (diff)
downloadjquery-b9cdc4136b688963d1dc4befb169be02a0216ba9.tar.gz
jquery-b9cdc4136b688963d1dc4befb169be02a0216ba9.zip
Updates to data.js re-write to pass events and manipulation (full pass in local test runs)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event.js b/src/event.js
index 733e563c2..4e7f7424c 100644
--- a/src/event.js
+++ b/src/event.js
@@ -16,7 +16,7 @@ jQuery.event = {
t = 0;
// Don't attach events to noData or text/comment nodes (allow plain objects tho)
- if ( elem.nodeType === 3 || elem.nodeType === 8 || !types || !handler || !(elemData = jQuery._data( elem )) ) {
+ if ( elem.nodeType === 3 || elem.nodeType === 8 || !types || !handler || !(elemData = data_priv.get( elem )) ) {
return;
}
@@ -124,7 +124,7 @@ jQuery.event = {
var tns, type, origType, namespaces, origCount,
j, events, special, eventType, handleObj,
t = 0,
- elemData = jQuery.hasData( elem ) && jQuery._data( elem );
+ elemData = data_priv.hasData( elem ) && data_priv.get( elem );
if ( !elemData || !(events = elemData.events) ) {
return;