Skip to content

Commit

Permalink
Remove duplicated 'canDrag' of ALLOWED_SPEC_METHODS
Browse files Browse the repository at this point in the history
  • Loading branch information
agilgur5 committed Oct 1, 2016
1 parent 25a52c2 commit d502238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createSourceFactory.js
@@ -1,7 +1,7 @@
import invariant from 'invariant';
import isPlainObject from 'lodash/isPlainObject';

const ALLOWED_SPEC_METHODS = ['canDrag', 'beginDrag', 'canDrag', 'isDragging', 'endDrag'];
const ALLOWED_SPEC_METHODS = ['canDrag', 'beginDrag', 'isDragging', 'endDrag'];
const REQUIRED_SPEC_METHODS = ['beginDrag'];

export default function createSourceFactory(spec) {
Expand Down

0 comments on commit d502238

Please sign in to comment.