jQuery - включать только в том случае если нет jQuery в проекте
RooTooZ opened this issue · comments
Суть проблемы заключается в том что если мы подключили уже в проекте Jquery то не нужно подключать еще одну!
Вызываются ошибки
Working as designed. No changes requires. Use scriptMap property of CClientScript component to disable loading of system jquery (or any other) library.
You could tell how to do it?
Add to your app config -> components
'clientScript' => array(
'scriptMap' => array(
'jquery.js' => false
)
),
Thanks!
🤘