Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "jquery-mousewheel",
"version": "3.1.12",
"main": "./jquery.mousewheel.js",
"ignore": [
"*.json",
Expand All @@ -12,6 +11,6 @@
"test"
],
"dependencies": {
"jquery": ">=1.2.2"
"jquery": ">=1.7.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're here, drop the obsolete version from bower.json

}
}
4 changes: 2 additions & 2 deletions jquery.mousewheel.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@

$.fn.extend({
mousewheel: function(fn) {
return fn ? this.bind('mousewheel', fn) : this.trigger('mousewheel');
return fn ? this.on('mousewheel', fn) : this.trigger('mousewheel');
},

unmousewheel: function(fn) {
return this.unbind('mousewheel', fn);
return this.off('mousewheel', fn);
}
});

Expand Down
12 changes: 6 additions & 6 deletions jquery.mousewheel.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 0 additions & 27 deletions mousewheel.jquery.json

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
"directories": {
"test": "test"
},
"jam": {
"dependencies": {
"jquery": ">=1.2.2"
}
"peerDependencies": {
"jquery": ">=1.7.0"
}
}
Loading