Skip to content

Commit 031cca6

Browse files
Create jquery.simulate.js
1 parent 1eea8cc commit 031cca6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jquery.simulate.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ var rkeyEvent = /^key/,
1616

1717
$.fn.vssimulate = function( type, options ) {
1818
return this.each(function() {
19-
new $.simulate( this, type, options );
19+
new $.vssimulate( this, type, options );
2020
});
2121
};
2222

23-
$.simulate = function( elem, type, options ) {
23+
$.vssimulate = function( elem, type, options ) {
2424
var method = $.camelCase( "simulate-" + type );
2525

2626
this.target = elem;
@@ -33,7 +33,7 @@ $.simulate = function( elem, type, options ) {
3333
}
3434
};
3535

36-
$.extend( $.simulate, {
36+
$.extend( $.vssimulate, {
3737

3838
keyCode: {
3939
BACKSPACE: 8,
@@ -67,7 +67,7 @@ $.extend( $.simulate, {
6767
}
6868
});
6969

70-
$.extend( $.simulate.prototype, {
70+
$.extend( $.vssimulate.prototype, {
7171

7272
simulateEvent: function( elem, type, options ) {
7373
var event = this.createEvent( type, options );

0 commit comments

Comments
 (0)