💥 Función located() pasa a at() en activos
This commit is contained in:
parent
a9a70fca46
commit
44550edafa
10 changed files with 13 additions and 13 deletions
|
|
@ -194,13 +194,13 @@ impl ComponentTrait for MegaMenu {
|
|||
|
||||
fn prepare_component(&self, cx: &mut Context) -> PrepareMarkup {
|
||||
cx.alter(ContextOp::AddStyleSheet(
|
||||
StyleSheet::located("/megamenu/css/menu.css").with_version("1.1.1"),
|
||||
StyleSheet::at("/megamenu/css/menu.css").with_version("1.1.1"),
|
||||
))
|
||||
.alter(ContextOp::AddStyleSheet(
|
||||
StyleSheet::located("/megamenu/css/menu-clean.css").with_version("1.1.1"),
|
||||
StyleSheet::at("/megamenu/css/menu-clean.css").with_version("1.1.1"),
|
||||
))
|
||||
.alter(ContextOp::AddJavaScript(
|
||||
JavaScript::located("/megamenu/js/menu.min.js").with_version("1.1.1"),
|
||||
JavaScript::at("/megamenu/js/menu.min.js").with_version("1.1.1"),
|
||||
));
|
||||
JQuery.enable_jquery(cx);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue