Skip to content

Commit

Permalink
Move sensors to Draggable
Browse files Browse the repository at this point in the history
  • Loading branch information
tsov committed Oct 6, 2017
1 parent da60cbd commit 7777823
Show file tree
Hide file tree
Showing 22 changed files with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Draggable/Draggable.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import {closest} from 'shared/Utils';

import {Accessibility, Mirror} from './Plugins';
import {Collidable, Snappable} from './../Plugins';

import {
DragSensor,
MouseSensor,
TouchSensor,
ForceTouchSensor,
} from './../Sensors';
} from './Sensors';

import {
DraggableInitializedEvent,
Expand Down Expand Up @@ -61,10 +60,6 @@ export default class Draggable {
return {Accessibility, Mirror};
}

static get Behaviour() {
return {Collidable, Snappable};
}

/**
* Draggable constructor.
* @constructs Draggable
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7777823

Please sign in to comment.