Comparing version 0.3.0 to 0.3.1
@@ -70,2 +70,3 @@ import { Actions } from 'flummox' | ||
const { drop: dropActionId } = this.getActionIds(); | ||
const targetHandles = context | ||
@@ -85,7 +86,8 @@ .getTargetHandles() | ||
if (typeof dropResult === 'undefined') { | ||
dropResult = index === 0 ? true : context.getDropResult(); | ||
dropResult = index === 0 ? | ||
true : | ||
context.getDropResult(); | ||
} | ||
const actionId = this.getActionIds().drop; | ||
this.dispatch(actionId, { dropResult }); | ||
this.dispatch(dropActionId, { dropResult }); | ||
}); | ||
@@ -92,0 +94,0 @@ } |
{ | ||
"name": "dnd-core", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Drag and drop sans the GUI", | ||
@@ -5,0 +5,0 @@ "main": "dist-modules/index.js", |
@@ -32,3 +32,3 @@ # dnd-core | ||
![](http://i.imgur.com/NzjAu8a.png) | ||
![](http://i.imgur.com/6l8CpxZ.png) | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
130616
50
2875
0