@ -47,11 +47,9 @@
"dependencies": {
"@juggle/resize-observer": "^3.4.0",
"@popperjs/core": "2.11.6",
"jquery": "3.6.3",
"jquery": "3.6.3"
"yargs": "17.6.2"
},
"devDependencies": {
"cross-env": "^7.0.3",
"cross-env": "^7.0.3"
"@types/yargs": "17.0.13"
}
@ -43,7 +43,7 @@ export class SortList extends Widget {
isDefaultInit: o.isDefaultInit,
el: o.el,
items: this._formatItems(o.items),
itemsCreator(op, callback) {
itemsCreator: (op, callback) => {
o.itemsCreator(op, items => {
callback(this._formatItems(items));
});