提交 e912d00e 编写于 作者: R RubaXa

v1.2.1

上级 43fd3738
...@@ -583,11 +583,11 @@ Link to the active instance. ...@@ -583,11 +583,11 @@ Link to the active instance.
```html ```html
<!-- CDNJS :: Sortable (https://cdnjs.com/) --> <!-- 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/) --> <!-- 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/) --> <!-- jsDelivr :: Sortable :: Latest (http://www.jsdelivr.com/) -->
......
...@@ -1127,7 +1127,7 @@ ...@@ -1127,7 +1127,7 @@
}; };
Sortable.version = '1.2.0'; Sortable.version = '1.2.1';
/** /**
......
此差异已折叠。
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"knockout-sortable.js", "knockout-sortable.js",
"react-sortable-mixin.js" "react-sortable-mixin.js"
], ],
"version": "1.2.0", "version": "1.2.1",
"homepage": "http://rubaxa.github.io/Sortable/", "homepage": "http://rubaxa.github.io/Sortable/",
"authors": [ "authors": [
"RubaXa <ibnRubaXa@gmail.com>" "RubaXa <ibnRubaXa@gmail.com>"
......
{ {
"name": "Sortable", "name": "Sortable",
"main": "Sortable.js", "main": "Sortable.js",
"version": "1.2.0", "version": "1.2.1",
"homepage": "http://rubaxa.github.io/Sortable/", "homepage": "http://rubaxa.github.io/Sortable/",
"repo": "RubaXa/Sortable", "repo": "RubaXa/Sortable",
"authors": [ "authors": [
......
...@@ -137,9 +137,9 @@ ...@@ -137,9 +137,9 @@
componentWillReceiveProps: function (nextProps) { componentWillReceiveProps: function (nextProps) {
var newState = {}, var newState = {},
modelName = _getModelName(this), modelName = _getModelName(this),
items; items = nextProps[modelName];
if (items = nextProps[modelName]) { if (items) {
newState[modelName] = items; newState[modelName] = items;
this.setState(newState); this.setState(newState);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册