Skip to content

Commit

Permalink
Export default options
Browse files Browse the repository at this point in the history
Add tests for constructor

Add test for attaching event listeners on init

Remove linebreak

Add tests for attachig plugins

Add tests for attaching native sensors

Add tests for attaching non-native sensors

Add test for triggering DraggableInitializedEvent on init

Add tests for sensors

Add tests for destroy

Simplify instance creation

Add test for removing event listeners on destroy

Add test for on

Add tests for off and fix indentation

Add tests for classnames

Fix eslint errors
  • Loading branch information
timrourke committed Jan 9, 2018
1 parent 1bd10f0 commit 7b4b71f
Show file tree
Hide file tree
Showing 2 changed files with 705 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Draggable/Draggable.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const onDragStop = Symbol('onDragStop');
const onDragPressure = Symbol('onDragPressure');
const getAppendableContainer = Symbol('getAppendableContainer');

const defaults = {
export const defaultOptions = {
draggable: '.draggable-source',
handle: null,
delay: 100,
Expand Down
Loading

0 comments on commit 7b4b71f

Please sign in to comment.