提交 40a2f605 编写于 作者: R RubaXa

v1.4.1: * React & ko & bower

上级 6f61d145
...@@ -635,11 +635,11 @@ Link to the active instance. ...@@ -635,11 +635,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.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/) --> <!-- 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/) --> <!-- jsDelivr :: Sortable :: Latest (http://www.jsdelivr.com/) -->
......
...@@ -1244,6 +1244,6 @@ ...@@ -1244,6 +1244,6 @@
// Export // Export
Sortable.version = '1.3.0'; Sortable.version = '1.4.1';
return Sortable; return Sortable;
}); });
此差异已折叠。
{ {
"name": "Sortable", "name": "Sortable",
"main": "Sortable.js", "main": "Sortable.js",
"version": "1.3.0", "version": "1.4.1",
"homepage": "http://rubaxa.github.io/Sortable/", "homepage": "http://rubaxa.github.io/Sortable/",
"repo": "RubaXa/Sortable", "repo": "RubaXa/Sortable",
"authors": [ "authors": [
......
{ {
"name": "sortablejs", "name": "sortablejs",
"exportName": "Sortable", "exportName": "Sortable",
"version": "1.4.0", "version": "1.4.1",
"devDependencies": { "devDependencies": {
"grunt": "*", "grunt": "*",
"grunt-version": "*", "grunt-version": "*",
......
...@@ -120,11 +120,13 @@ ...@@ -120,11 +120,13 @@
} }
newState[_getModelName(this)] = items; newState[_getModelName(this)] = items;
if (copyOptions["stateHandler"]) {
this[copyOptions["stateHandler"]](newState); if (copyOptions.stateHandler) {
this[copyOptions.stateHandler](newState);
} else { } else {
this.setState(newState); this.setState(newState);
} }
(this !== _activeComponent) && _activeComponent.setState(remoteState); (this !== _activeComponent) && _activeComponent.setState(remoteState);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册