From e7ca8f53b0d6269d301854f6cd72348df0457372 Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Fri, 3 Feb 2023 19:37:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[jquery]=20Carga=20la=20librer?= =?UTF-8?q?=C3=ADa=20seg=C3=BAn=20versi=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagetop-jquery/src/lib.rs | 3 +-- pagetop-jquery/static/{js => 3.6.0}/jquery.min.js | 0 pagetop-jquery/static/{js => 3.6.0}/jquery.min.map | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename pagetop-jquery/static/{js => 3.6.0}/jquery.min.js (100%) rename pagetop-jquery/static/{js => 3.6.0}/jquery.min.map (100%) diff --git a/pagetop-jquery/src/lib.rs b/pagetop-jquery/src/lib.rs index 20280e44..63322f49 100644 --- a/pagetop-jquery/src/lib.rs +++ b/pagetop-jquery/src/lib.rs @@ -5,7 +5,7 @@ pub_handle!(MODULE_JQUERY); include!(concat!(env!("OUT_DIR"), "/jquery.rs")); const JQUERY_PARAM: &str = "jquery.add"; -const JQUERY_SOURCE: &str = "/jquery/js/jquery.min.js"; +const JQUERY_SOURCE: &str = "/jquery/3.6.0/jquery.min.js"; pub struct JQuery; @@ -26,7 +26,6 @@ impl JQuery { _ => { rcx.alter(ContextOp::AddJavaScript( JavaScript::located(JQUERY_SOURCE) - .with_version("3.6.0") .with_weight(isize::MIN) .with_mode(ModeJS::Normal), )); diff --git a/pagetop-jquery/static/js/jquery.min.js b/pagetop-jquery/static/3.6.0/jquery.min.js similarity index 100% rename from pagetop-jquery/static/js/jquery.min.js rename to pagetop-jquery/static/3.6.0/jquery.min.js diff --git a/pagetop-jquery/static/js/jquery.min.map b/pagetop-jquery/static/3.6.0/jquery.min.map similarity index 100% rename from pagetop-jquery/static/js/jquery.min.map rename to pagetop-jquery/static/3.6.0/jquery.min.map