Hi there,
Is jQuery UI a core script or does Yii ships only with jQuery on-board, and jQuery UI has to be published manually?
I made a very simple animation effect, that comes from base jQuery library:
delay(900).slideDown(900)
And it works like a charm. Then I tried to change it to effect bundled with jQuery UI library:
delay(900).show('drop', {}, 900)
And that failed with console error saying "jQuery.easing[specialEasing || defaultEasing] is not a function - in: http://localhost/app/assets/a14360c3/jquery.js - line: 5854".
I’m asking, because I was surprised that error was bind not to my code and the line where I execute this effect, but to some line deep in jQuery core, which is confusing me a bit (I’m not to good in jQuery - to be honest I’m less then average in this stuff).
Second question: is there an easy way to publish (or force publishing as core script, if jQuery UI is a core script, being auto-published) only a piece of jQuery UI being responsible for the effects? To not overload client (browser) with lots of unnecessary code, if I’m not using any jQuery UI widgets, only its effects library?
Or the only option here is to block publishing of core jQuery UI on-board Yii, prepare and download custom release of jQuery UI library, containing only effects and necessary supporting code and publish it along with application, like with any ordinary JS script.