Skip to content

Commit

Permalink
v1.4.1: * React & ko & bower
Browse files Browse the repository at this point in the history
  • Loading branch information
RubaXa committed Oct 14, 2015
1 parent 6f61d14 commit 40a2f60
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -635,11 +635,11 @@ Link to the active instance.

```html
<!-- CDNJS :: Sortable (https://cdnjs.com/) -->
<script src="//cdnjs.cloudflare.com/ajax/libs/Sortable/1.3.0-rc1/Sortable.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/Sortable/1.4.1-rc1/Sortable.min.js"></script>


<!-- jsDelivr :: Sortable (http://www.jsdelivr.com/) -->
<script src="//cdn.jsdelivr.net/sortable/1.3.0-rc1/Sortable.min.js"></script>
<script src="//cdn.jsdelivr.net/sortable/1.4.1-rc1/Sortable.min.js"></script>


<!-- jsDelivr :: Sortable :: Latest (http://www.jsdelivr.com/) -->
Expand Down
2 changes: 1 addition & 1 deletion Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,6 @@


// Export
Sortable.version = '1.3.0';
Sortable.version = '1.4.1';
return Sortable;
});
4 changes: 2 additions & 2 deletions Sortable.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Sortable",
"main": "Sortable.js",
"version": "1.3.0",
"version": "1.4.1",
"homepage": "http://rubaxa.github.io/Sortable/",
"repo": "RubaXa/Sortable",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sortablejs",
"exportName": "Sortable",
"version": "1.4.0",
"version": "1.4.1",
"devDependencies": {
"grunt": "*",
"grunt-version": "*",
Expand Down
6 changes: 4 additions & 2 deletions react-sortable-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,13 @@
}

newState[_getModelName(this)] = items;
if (copyOptions["stateHandler"]) {
this[copyOptions["stateHandler"]](newState);

if (copyOptions.stateHandler) {
this[copyOptions.stateHandler](newState);
} else {
this.setState(newState);
}

(this !== _activeComponent) && _activeComponent.setState(remoteState);
}

Expand Down

0 comments on commit 40a2f60

Please sign in to comment.