👽️ Aplica cambio de API para Context
This commit is contained in:
parent
a1d51d6d0f
commit
9552ae0af5
17 changed files with 96 additions and 100 deletions
|
|
@ -33,12 +33,12 @@ impl ModuleTrait for JQuery {
|
|||
}
|
||||
|
||||
impl JQuery {
|
||||
pub fn add_in(rcx: &mut RenderContext) {
|
||||
rcx.set_param::<bool>(JQUERY_PARAM, true);
|
||||
pub fn add_in(cx: &mut Context) {
|
||||
cx.set_param::<bool>(JQUERY_PARAM, true);
|
||||
}
|
||||
|
||||
pub fn remove_from(rcx: &mut RenderContext) {
|
||||
rcx.set_param::<bool>(JQUERY_PARAM, false);
|
||||
pub fn remove_from(cx: &mut Context) {
|
||||
cx.set_param::<bool>(JQUERY_PARAM, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue