Skip to content

Commit

Permalink
Merge pull request #548 from agilgur5/master
Browse files Browse the repository at this point in the history
Remove duplicated 'canDrag' of ALLOWED_SPEC_METHODS
  • Loading branch information
kesne committed Oct 10, 2016
2 parents 35c6309 + d502238 commit 911715a
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 911715a

Please sign in to comment.