Skip to content
This repository has been archived by the owner on Jun 18, 2018. It is now read-only.

Commit

Permalink
Update the context argument to DragDropManager to default to an empty…
Browse files Browse the repository at this point in the history
… object
  • Loading branch information
darthtrevino committed Jan 25, 2017
1 parent b80a15b commit 1dfcd64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DragDropManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1dfcd64

Please sign in to comment.