Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
build 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
basti1253 committed Dec 31, 2015
1 parent 74ae577 commit 7124ebb
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 19 deletions.
3 changes: 2 additions & 1 deletion dist/README.md
Expand Up @@ -10,13 +10,14 @@ The Coverflow project seeks to create a fully functional 'CoverFlow' effect usin

## Documentation

- [JS Fiddle](http://jsfiddle.net/rudygotya/7q8eapr2/2/)
- [Get started](http://coverflowjs.github.io/coverflow/tutorial/get-started/)
- [API options](http://coverflowjs.github.io/coverflow/api/options/)
- [API events](http://coverflowjs.github.io/coverflow/api/events/)
- [API methods](http://coverflowjs.github.io/coverflow/api/methods/)

## License
Copyright (c) 2008-2014 Paul Baukus, Addy Osmani, Sebastian Sauer, Brandon Belvin
Copyright (c) 2008-2015 Paul Baukus, Addy Osmani, Sebastian Sauer, Brandon Belvin
Licensed under the MIT licenses.

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion dist/coverflow.css

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

18 changes: 12 additions & 6 deletions dist/coverflow.js
@@ -1,4 +1,4 @@
/*! CoverflowJS - v3.0.1 - 2015-09-16
/*! CoverflowJS - v3.0.2 - 2015-12-31
* Copyright (c) 2015 Paul Baukus, Addy Osmani, Sebastian Sauer, Brandon Belvin, April Barrett, Kirill Kostko; Licensed MIT */
/*! jQuery UI - v1.10.4 - 2014-01-17
* http://jqueryui.com
Expand Down Expand Up @@ -2933,12 +2933,12 @@ $.extend( $.coverflow.renderer, {

if( o.trigger.mousewheel ) {
me._on({
mousewheel: debounce(me._onMouseWheel, 200),
DOMMouseScroll: debounce(me._onMouseWheel, 200)
wheel: debounce(me._onMouseWheel, 20),
DOMMouseScroll: debounce(me._onMouseWheel, 20)
});

me._on({
mousewheel: me._preventPageScroll,
wheel: me._preventPageScroll,
DOMMouseScroll: me._preventPageScroll
});
}
Expand Down Expand Up @@ -3296,9 +3296,15 @@ $.extend( $.coverflow.renderer, {
ev.preventDefault();
},
_onMouseWheel : function ( ev ) {
var origEv = ev.originalEvent;
var origEv = ev.originalEvent,
delta = Math.abs(origEv.wheelDelta) > 0 ? origEv.wheelDelta : -origEv.detail;

if( origEv.wheelDelta > 0 || origEv.detail < 0 ) {
// mac os specific - fighting trackpad clumsy scrolling behaviour
if( delta > -10 && delta < 3 ) {
return;
}

if( delta > 0 ) {
this.prev();
return;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/coverflow.min.js

Large diffs are not rendered by default.

18 changes: 12 additions & 6 deletions dist/coverflow.standalone.js
@@ -1,4 +1,4 @@
/*! CoverflowJS - v3.0.1 - 2015-09-16
/*! CoverflowJS - v3.0.2 - 2015-12-31
* Copyright (c) 2015 Paul Baukus, Addy Osmani, Sebastian Sauer, Brandon Belvin, April Barrett, Kirill Kostko; Licensed MIT */
(function( $, window, document, undefined ) {

Expand Down Expand Up @@ -826,12 +826,12 @@ $.extend( $.coverflow.renderer, {

if( o.trigger.mousewheel ) {
me._on({
mousewheel: debounce(me._onMouseWheel, 200),
DOMMouseScroll: debounce(me._onMouseWheel, 200)
wheel: debounce(me._onMouseWheel, 20),
DOMMouseScroll: debounce(me._onMouseWheel, 20)
});

me._on({
mousewheel: me._preventPageScroll,
wheel: me._preventPageScroll,
DOMMouseScroll: me._preventPageScroll
});
}
Expand Down Expand Up @@ -1189,9 +1189,15 @@ $.extend( $.coverflow.renderer, {
ev.preventDefault();
},
_onMouseWheel : function ( ev ) {
var origEv = ev.originalEvent;
var origEv = ev.originalEvent,
delta = Math.abs(origEv.wheelDelta) > 0 ? origEv.wheelDelta : -origEv.detail;

if( origEv.wheelDelta > 0 || origEv.detail < 0 ) {
// mac os specific - fighting trackpad clumsy scrolling behaviour
if( delta > -10 && delta < 3 ) {
return;
}

if( delta > 0 ) {
this.prev();
return;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/coverflow.standalone.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/package.json
Expand Up @@ -2,7 +2,7 @@
"name": "CoverflowJS",
"title": "CoverflowJS",
"description": "A jQuery UI powered coverflow component that takes advantage of CSS3 features",
"version": "3.0.1",
"version": "3.0.2",
"author": {
"name": "Paul Baukus, Addy Osmani, Sebastian Sauer, Brandon Belvin, April Barrett, Kirill Kostko",
"url": "https://github.com/coverflowjs/coverflow"
Expand Down

0 comments on commit 7124ebb

Please sign in to comment.