Skip to content

Commit

Permalink
fix(defaults.js): add missing default option for mouse events on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Heinz committed Oct 29, 2015
1 parent e20574c commit 1d2aa9c
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 9 deletions.
8 changes: 7 additions & 1 deletion demo/js/jquery.lory.js
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,13 @@ return /******/ (function(modules) { // webpackBootstrap
* if emptyString then no class is set
* @classNameActiveSlide {string}
*/
classNameActiveSlide: 'active'
classNameActiveSlide: 'active',

/**
* enables mouse events for swiping on desktop devices
* @enableMouseEvents {boolean}
*/
enableMouseEvents: false
};
module.exports = exports['default'];

Expand Down
2 changes: 1 addition & 1 deletion demo/js/jquery.lory.min.js

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

8 changes: 7 additions & 1 deletion demo/js/lory.js
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,13 @@ return /******/ (function(modules) { // webpackBootstrap
* if emptyString then no class is set
* @classNameActiveSlide {string}
*/
classNameActiveSlide: 'active'
classNameActiveSlide: 'active',

/**
* enables mouse events for swiping on desktop devices
* @enableMouseEvents {boolean}
*/
enableMouseEvents: false
};
module.exports = exports['default'];

Expand Down
Loading

0 comments on commit 1d2aa9c

Please sign in to comment.