Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RubaXa committed Jul 18, 2015
1 parent 43fd373 commit e912d00
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,11 +583,11 @@ Link to the active instance.

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


<!-- jsDelivr :: Sortable (http://www.jsdelivr.com/) -->
<script src="//cdn.jsdelivr.net/sortable/1.2.0/Sortable.min.js"></script>
<script src="//cdn.jsdelivr.net/sortable/1.2.1/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 @@ -1127,7 +1127,7 @@
};


Sortable.version = '1.2.0';
Sortable.version = '1.2.1';


/**
Expand Down
4 changes: 2 additions & 2 deletions Sortable.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"knockout-sortable.js",
"react-sortable-mixin.js"
],
"version": "1.2.0",
"version": "1.2.1",
"homepage": "http://rubaxa.github.io/Sortable/",
"authors": [
"RubaXa <[email protected]>"
Expand Down
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.2.0",
"version": "1.2.1",
"homepage": "http://rubaxa.github.io/Sortable/",
"repo": "RubaXa/Sortable",
"authors": [
Expand Down
4 changes: 2 additions & 2 deletions react-sortable-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@
componentWillReceiveProps: function (nextProps) {
var newState = {},
modelName = _getModelName(this),
items;
items = nextProps[modelName];

if (items = nextProps[modelName]) {
if (items) {
newState[modelName] = items;
this.setState(newState);
}
Expand Down

0 comments on commit e912d00

Please sign in to comment.