Skip to content

Commit

Permalink
0.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Mar 11, 2015
1 parent 0bb7ec8 commit 3dcc4fc
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "react-dnd",
"version": "0.9.3",
"version": "0.9.5",
"homepage": "https://github.com/gaearon/react-dnd",
"authors": [
"Dan Abramov <dan.abramov@me.com>"
Expand Down
3 changes: 2 additions & 1 deletion dist-modules/stores/DragOffsetStore.js
Expand Up @@ -40,7 +40,8 @@ DragOffsetStore.dispatchToken = DragDropDispatcher.register(function (payload) {
break;

case DragDropActionTypes.DRAG_END:
_currentOffsetFromClient = null;
_initialOffsetFromContainer = null;
_initialOffsetFromClient = null;
_currentOffsetFromClient = null;
DragOffsetStore.emitChange();
}
Expand Down
4 changes: 4 additions & 0 deletions dist-modules/utils/DragDropContext.js
Expand Up @@ -19,6 +19,10 @@ var DragDropContext = {

getCurrentOffsetFromClient: function getCurrentOffsetFromClient() {
return DragOffsetStore.getCurrentOffsetFromClient();
},

getInitialOffsetFromContainer: function getInitialOffsetFromContainer() {
return DragOffsetStore.getInitialOffsetFromContainer();
}
};

Expand Down
2 changes: 1 addition & 1 deletion dist/ReactDND.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions examples/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "react-dnd",
"version": "0.9.4",
"version": "0.9.5",
"description": "Drag and drop for React with full DOM control",
"main": "dist-modules/index.js",
"scripts": {
Expand Down

0 comments on commit 3dcc4fc

Please sign in to comment.