Hi
I am not sure if this is something Yii should do automatically or not,
Currently if you call
Yii::app()->clientScript->registerScript("sayHello","alert('hello')");
The jquery core is included in the returned response - even if the request is an ajax request - this could cause issues with extensions that have registered themselves with jquery because the "new" jquery will replace the older one. Of course if the call is made properly like
Yii::app()->clientScript->registerScript("sayHello","alert('hello')", CClientScript::POS_END);
then this is not really an issue.
nz