diff --git a/src/DragDropManager.js b/src/DragDropManager.js index f0c8a55..1026221 100644 --- a/src/DragDropManager.js +++ b/src/DragDropManager.js @@ -4,7 +4,7 @@ import * as dragDropActions from './actions/dragDrop'; import DragDropMonitor from './DragDropMonitor'; export default class DragDropManager { - constructor(createBackend, context = (global || window)) { + constructor(createBackend, context = {}) { const store = createStore(reducer); this.context = context; this.store = store;