EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: WizPS on January 18, 2020, 07:24:02 PM



Title: What dependencies when using easyloader and ribbon extensions
Post by: WizPS on January 18, 2020, 07:24:02 PM
Hi, I use ribbon extension and easyloader. Now I can't find what dependencies to set?
Code:
$.extend(easyloader.modules, {
ribbon: {
js: '../ribbon/jquery.ribbon.js'
, dependencies: [???]
}
});
Thanks for advice!


Title: Re: What dependencies when using easyloader and ribbon extensions
Post by: stworthy on January 20, 2020, 07:15:26 PM
Please refer to this code.
Code:
$.extend(easyloader.modules, {
ribbon: {
js: 'https://www.jeasyui.com/easyui/ribbon/jquery.ribbon.js',
css: 'https://www.jeasyui.com/easyui/ribbon/ribbon.css',
dependencies: ['linkbutton','tabs','menubutton','splitbutton']
}
})


Title: Re: What dependencies when using easyloader and ribbon extensions
Post by: WizPS on January 21, 2020, 02:28:24 AM
Perfect, thanx!