I think the requirejs define should be rewritten as:
define(["knockout", "jquery", "jquery-ui/autocomplete"], factory);
I think the standard AMD module name for jqueryUI is jquery-ui, and the components are separated files in a folder. This would also be in accordance with your 'knockout-sortable' project.
I think the requirejs define should be rewritten as: define(["knockout", "jquery", "jquery-ui/autocomplete"], factory);
I think the standard AMD module name for jqueryUI is jquery-ui, and the components are separated files in a folder. This would also be in accordance with your 'knockout-sortable' project.