Skip to content

Commit

Permalink
Bumped version to 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rniemeyer committed Mar 6, 2019
1 parent 34b3bda commit 679e175
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/knockout-sortable.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// knockout-sortable 1.1.0 | (c) 2017 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
// knockout-sortable 1.1.1 | (c) 2019 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
;(function(factory) {
if (typeof define === "function" && define.amd) {
// AMD anonymous module
Expand Down Expand Up @@ -82,7 +82,7 @@
var unwrapped = unwrap(items);

if (unwrapped) {
for (var i = 0; i < index; i++) {
for (var i = 0; i <= index; i++) {
//add one for every destroyed item we find before the targetIndex in the target array
if (unwrapped[i] && unwrap(unwrapped[i]._destroy)) {
index++;
Expand Down
4 changes: 2 additions & 2 deletions build/knockout-sortable.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "knockout-sortable",
"version": "1.1.0",
"version": "1.1.1",
"author": "Ryan Niemeyer",
"homepage": "https://github.com/rniemeyer/knockout-sortable",
"description": "A Knockout.js binding to connect observableArrays with jQuery UI sortable functionality",
Expand Down

0 comments on commit 679e175

Please sign in to comment.