Skip to content

Commit

Permalink
Remove stray console.log. Bump to v0.13.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
rniemeyer committed Apr 25, 2016
1 parent 6032e7a commit 4c2199a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{ "name": "Ryan Niemeyer" }
],
"license": "MIT",
"version": "0.13.0",
"version": "0.13.1",
"main": "./build/knockout-sortable.min.js",
"ignore": [
"examples",
Expand Down
5 changes: 2 additions & 3 deletions build/knockout-sortable.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// knockout-sortable 0.13.0 | (c) 2016 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
// knockout-sortable 0.13.1 | (c) 2016 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
;(function(factory) {
if (typeof define === "function" && define.amd) {
// AMD anonymous module
Expand Down Expand Up @@ -154,7 +154,7 @@
//keep a reference to start/update functions that might have been passed in
startActual = sortable.options.start;
updateActual = sortable.options.update;

//ensure draggable table row cells maintain their width while dragging
sortable.options.helper = function(e, ui) {
if (ui.is("tr")) {
Expand Down Expand Up @@ -268,7 +268,6 @@
dataSet(el, ITEMKEY, null);
}
else { //employ the strategy of moving items
console.log( "strategy move" );
if (targetIndex >= 0) {
if (sourceParent) {
if (sourceParent !== targetParent) {
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": "0.13.0",
"version": "0.13.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
3 changes: 1 addition & 2 deletions src/knockout-sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
//keep a reference to start/update functions that might have been passed in
startActual = sortable.options.start;
updateActual = sortable.options.update;

//ensure draggable table row cells maintain their width while dragging
sortable.options.helper = function(e, ui) {
if (ui.is("tr")) {
Expand Down Expand Up @@ -267,7 +267,6 @@
dataSet(el, ITEMKEY, null);
}
else { //employ the strategy of moving items
console.log( "strategy move" );
if (targetIndex >= 0) {
if (sourceParent) {
if (sourceParent !== targetParent) {
Expand Down

0 comments on commit 4c2199a

Please sign in to comment.