list-dragon
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -327,3 +327,6 @@ // list-dragon node module | ||
container = container.parentNode; | ||
if (container instanceof ShadowRoot || container.tagName === 'BODY'){ | ||
if ( | ||
typeof ShadowRoot !== 'undefined' && container instanceof ShadowRoot || | ||
container.tagName === 'BODY' | ||
){ | ||
break; | ||
@@ -330,0 +333,0 @@ } |
{ | ||
"name": "list-dragon", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"main": "./index.js", | ||
@@ -5,0 +5,0 @@ "description": "Drag and drop items between lists.", |
# list-dnd | ||
Drag and drop items between lists. | ||
> NOTE: As of v1.2.0, list-dragon is now a simple node module. It is no longer a "modified node module" (containing its own extra closure for use directly in a browser). | ||
> v1.3.1 qualifies reference to `ShadowRoot` which was previously erroring out in non-Chrome browsers. | ||
### API documentation | ||
Detailed API docs can be found [here](http://openfin.github.io/list-dragon/global.html). | ||
Detailed API docs can be found [here](http://openfin.github.io/list-dragon/ListDragon.html). | ||
@@ -21,5 +21,5 @@ ### Demo | ||
### Submodules | ||
### Git Submodules | ||
See the note [Regarding submodules](https://github.com/openfin/rectangular#regarding-submodules) | ||
for important information on cloning this repo or re-purposing its build template. |
25753
489