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

Commit 3aa9450

Browse files
committed
style(sortable): reindent long lines and fix object property spacing
1 parent 8285a57 commit 3aa9450

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/sortable.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ angular.module('ui.sortable', [])
210210
// we can't just do ui.item.index() because there it might have siblings
211211
// which are not items
212212
function getItemIndex(ui) {
213-
return ui.item.parent().find(opts['ui-model-items'])
213+
return ui.item.parent()
214+
.find(opts['ui-model-items'])
214215
.index(ui.item);
215216
}
216217

@@ -224,10 +225,10 @@ angular.module('ui.sortable', [])
224225

225226
var callbacks = {
226227
receive: null,
227-
remove:null,
228-
start:null,
229-
stop:null,
230-
update:null
228+
remove: null,
229+
start: null,
230+
stop: null,
231+
update: null
231232
};
232233

233234
var wrappers = {

0 commit comments

Comments
 (0)