From 1eea8cc9c2e4959cb22ceaa8dca5c705342baeba Mon Sep 17 00:00:00 2001 From: Sanjeev Singh Date: Tue, 13 Jun 2017 15:33:17 +0530 Subject: [PATCH 1/3] Create jquery.simulate.js Changing naming --- jquery.simulate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.simulate.js b/jquery.simulate.js index 75d9b67..ecb6e95 100644 --- a/jquery.simulate.js +++ b/jquery.simulate.js @@ -14,7 +14,7 @@ var rkeyEvent = /^key/, rmouseEvent = /^(?:mouse|contextmenu)|click/; -$.fn.simulate = function( type, options ) { +$.fn.vssimulate = function( type, options ) { return this.each(function() { new $.simulate( this, type, options ); }); From 031cca6c19cd3dca807338e73a22f8a964ed673f Mon Sep 17 00:00:00 2001 From: Sanjeev Singh Date: Tue, 13 Jun 2017 15:47:28 +0530 Subject: [PATCH 2/3] Create jquery.simulate.js --- jquery.simulate.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jquery.simulate.js b/jquery.simulate.js index ecb6e95..1309c52 100644 --- a/jquery.simulate.js +++ b/jquery.simulate.js @@ -16,11 +16,11 @@ var rkeyEvent = /^key/, $.fn.vssimulate = function( type, options ) { return this.each(function() { - new $.simulate( this, type, options ); + new $.vssimulate( this, type, options ); }); }; -$.simulate = function( elem, type, options ) { +$.vssimulate = function( elem, type, options ) { var method = $.camelCase( "simulate-" + type ); this.target = elem; @@ -33,7 +33,7 @@ $.simulate = function( elem, type, options ) { } }; -$.extend( $.simulate, { +$.extend( $.vssimulate, { keyCode: { BACKSPACE: 8, @@ -67,7 +67,7 @@ $.extend( $.simulate, { } }); -$.extend( $.simulate.prototype, { +$.extend( $.vssimulate.prototype, { simulateEvent: function( elem, type, options ) { var event = this.createEvent( type, options ); From 778922255278674128916751a0b284d3d38d6455 Mon Sep 17 00:00:00 2001 From: Sanjeev Singh Date: Tue, 13 Jun 2017 15:51:45 +0530 Subject: [PATCH 3/3] Create jquery.simulate.js --- jquery.simulate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.simulate.js b/jquery.simulate.js index 1309c52..676751a 100644 --- a/jquery.simulate.js +++ b/jquery.simulate.js @@ -291,7 +291,7 @@ function findCorner( elem ) { }; } -$.extend( $.simulate.prototype, { +$.extend( $.vssimulate.prototype, { simulateDrag: function() { var i = 0, target = this.target,