aboutsummaryrefslogtreecommitdiff
path: root/node_modules/jquery/src/deprecated
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2020-12-22 17:50:12 +0530
committerPriyansh <[email protected]>2020-12-22 17:50:12 +0530
commit22dc033f4938d6a19e086a1cbd36ec5cade5eaab (patch)
tree9feb963ccd5c1581e676e41004801abc67db3357 /node_modules/jquery/src/deprecated
parente93da8b04da86773247aadb1cbb1912e4f4526b2 (diff)
downloadstyx-22dc033f4938d6a19e086a1cbd36ec5cade5eaab.tar.xz
styx-22dc033f4938d6a19e086a1cbd36ec5cade5eaab.zip
Remove node_modules
Diffstat (limited to 'node_modules/jquery/src/deprecated')
-rw-r--r--node_modules/jquery/src/deprecated/ajax-event-alias.js22
-rw-r--r--node_modules/jquery/src/deprecated/event.js48
2 files changed, 0 insertions, 70 deletions
diff --git a/node_modules/jquery/src/deprecated/ajax-event-alias.js b/node_modules/jquery/src/deprecated/ajax-event-alias.js
deleted file mode 100644
index b96c0aa..0000000
--- a/node_modules/jquery/src/deprecated/ajax-event-alias.js
+++ /dev/null
@@ -1,22 +0,0 @@
-define( [
- "../core",
- "../ajax",
- "../event"
-], function( jQuery ) {
-
-"use strict";
-
-jQuery.each( [
- "ajaxStart",
- "ajaxStop",
- "ajaxComplete",
- "ajaxError",
- "ajaxSuccess",
- "ajaxSend"
-], function( _i, type ) {
- jQuery.fn[ type ] = function( fn ) {
- return this.on( type, fn );
- };
-} );
-
-} );
diff --git a/node_modules/jquery/src/deprecated/event.js b/node_modules/jquery/src/deprecated/event.js
deleted file mode 100644
index d2d26bc..0000000
--- a/node_modules/jquery/src/deprecated/event.js
+++ /dev/null
@@ -1,48 +0,0 @@
-define( [
- "../core",
-
- "../event",
- "../event/trigger"
-], function( jQuery ) {
-
-"use strict";
-
-jQuery.fn.extend( {
-
- bind: function( types, data, fn ) {
- return this.on( types, null, data, fn );
- },
- unbind: function( types, fn ) {
- return this.off( types, null, fn );
- },
-
- delegate: function( selector, types, data, fn ) {
- return this.on( types, selector, data, fn );
- },
- undelegate: function( selector, types, fn ) {
-
- // ( namespace ) or ( selector, types [, fn] )
- return arguments.length === 1 ?
- this.off( selector, "**" ) :
- this.off( types, selector || "**", fn );
- },
-
- hover: function( fnOver, fnOut ) {
- return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
- }
-} );
-
-jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " +
- "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
- "change select submit keydown keypress keyup contextmenu" ).split( " " ),
- function( _i, name ) {
-
- // Handle event binding
- jQuery.fn[ name ] = function( data, fn ) {
- return arguments.length > 0 ?
- this.on( name, null, data, fn ) :
- this.trigger( name );
- };
- } );
-
-} );