aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-09-08 18:13:35 -0400
committerjeresig <jeresig@gmail.com>2010-09-08 18:13:35 -0400
commitacb162a697e672b2b22e64a02e6278baafac5717 (patch)
treeba63b6b53ae42ee8d8c9af056abd066d5ce0cb48 /src/event.js
parentbca576550249e9b79b1097669dff6d4ddd0d65cf (diff)
downloadjquery-acb162a697e672b2b22e64a02e6278baafac5717.tar.gz
jquery-acb162a697e672b2b22e64a02e6278baafac5717.zip
Make sure that the removeEvent and buildFragment private functions are exposed (to help with access across modules). The final API for each of these is very much in flux and will likely change before the final release. Fixes #7011.
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 f0b27de43..5e72aaaab 100644
--- a/src/event.js
+++ b/src/event.js
@@ -239,7 +239,7 @@ jQuery.event = {
// remove generic event handler if no more handlers exist
if ( eventType.length === 0 || pos != null && eventType.length === 1 ) {
if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) {
- removeEvent( elem, type, elemData.handle );
+ jQuery.removeEvent( elem, type, elemData.handle );
}
ret = null;
@@ -527,7 +527,7 @@ jQuery.event = {
}
};
-var removeEvent = document.removeEventListener ?
+jQuery.removeEvent = document.removeEventListener ?
function( elem, type, handle ) {
if ( elem.removeEventListener ) {
elem.removeEventListener( type, handle, false );