Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 716cfcb

Browse files
committed
added var statement for 'onStop',
reordered vars changed comment from _start to _stop
1 parent 845b56f commit 716cfcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sortable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ angular.module('ui.sortable', []).value('uiSortableConfig',{}).directive('uiSort
88
return {
99
require: '?ngModel',
1010
link: function(scope, element, attrs, ngModel) {
11-
var onReceive, onRemove, onStart, onUpdate, opts;
11+
var onStart, onUpdate, onReceive, onRemove, onStop, opts;
1212

1313
opts = angular.extend({}, uiSortableConfig, scope.$eval(attrs.uiSortable));
1414

@@ -70,7 +70,7 @@ angular.module('ui.sortable', []).value('uiSortableConfig',{}).directive('uiSort
7070
}
7171
})(opts.start);
7272

73-
// If user provided 'start' callback compose it with onStart function
73+
// If user provided 'stop' callback compose it with onStop function
7474
opts.stop = (function(_stop){
7575
return function(e, ui) {
7676
onStop(e, ui);

0 commit comments

Comments
 (0)