Skip to content

Commit

Permalink
Merge pull request #9 from josephdburdick/gh-pages
Browse files Browse the repository at this point in the history
Move react-motion into dependencies
  • Loading branch information
hew authored Sep 7, 2016
2 parents 3be0c68 + f1b0d9e commit 28f1ee7
Show file tree
Hide file tree
Showing 3 changed files with 3,689 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist/react-scroll-horizontal.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var HorizontalScroll = function (_Component) {
function HorizontalScroll(props) {
_classCallCheck(this, HorizontalScroll);

var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(HorizontalScroll).call(this, props));
var _this = _possibleConstructorReturn(this, (HorizontalScroll.__proto__ || Object.getPrototypeOf(HorizontalScroll)).call(this, props));

_this.state = { animValues: 0 };

Expand Down Expand Up @@ -91,7 +91,7 @@ var HorizontalScroll = function (_Component) {
e.preventDefault();
// If scrolling on x axis, change to y axis
// Otherwise just get the y deltas
// Basically, this for Apple mice that allow
// Basically, this for Apple mice that allow
// horizontal scrolling by default
var rawData = e.deltaY ? e.deltaY : e.deltaX;
var mouseY = Math.floor(rawData);
Expand Down Expand Up @@ -189,4 +189,4 @@ HorizontalScroll.defaultProps = {
pageLock: false,
config: null,
style: { width: '100%', height: '100%' }
};
};
Loading

0 comments on commit 28f1ee7

Please sign in to comment.