提交 e912d00e 编写于 作者: R RubaXa

v1.2.1

上级 43fd3738
......@@ -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/) -->
......
......@@ -1127,7 +1127,7 @@
};
Sortable.version = '1.2.0';
Sortable.version = '1.2.1';
/**
......
此差异已折叠。
......@@ -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 <ibnRubaXa@gmail.com>"
......
{
"name": "Sortable",
"main": "Sortable.js",
"version": "1.2.0",
"version": "1.2.1",
"homepage": "http://rubaxa.github.io/Sortable/",
"repo": "RubaXa/Sortable",
"authors": [
......
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册