Simple jQuery UI functions, such as the following:
(function($) {
$('ui').sortable();
})(jQuery);
Result in an error which would normally indicate jQuery UI was not present.
Uncaught TypeError: Object [object Object] has no method 'sortable'
However, Chrome’s developer tools confirms that it has been loaded. What’s up?
The answer was simply to stop using jQuery shorthand. This:
becomes: