Skip to content

Commit

Permalink
release 0.13.1
Browse files Browse the repository at this point in the history
closes #103
  • Loading branch information
maccesch committed Sep 1, 2024
1 parent c60d32b commit 365b705
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<a href="https://crates.io/crates/leptos-use"><img src="https://img.shields.io/crates/v/leptos-use.svg?label=&color=%232C1275" alt="Crates.io"/></a>
<a href="https://leptos-use.rs/server_side_rendering.html"><img src="https://img.shields.io/badge/-SSR-%236a214b" alt="SSR"></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-docs%20%26%20demos-%239A233F" alt="Docs & Demos"></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-84%20functions-%23EF3939" alt="84 Functions" /></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-86%20functions-%23EF3939" alt="86 Functions" /></a>
</p>

<br/>
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
<a href="https://crates.io/crates/leptos-use"><img src="https://img.shields.io/crates/v/leptos-use.svg?label=&color=%232C1275" alt="Crates.io"/></a>
<a href="https://leptos-use.rs/server_side_rendering.html"><img src="https://img.shields.io/badge/-SSR-%236a214b" alt="SSR"></a>
<a href="./get_started.html"><img src="https://img.shields.io/badge/-docs%20%26%20demos-%239A233F" alt="Docs & Demos"></a>
<a href="./functions.html"><img src="https://img.shields.io/badge/-84%20functions-%23EF3939" alt="84 Functions" /></a>
<a href="./functions.html"><img src="https://img.shields.io/badge/-86%20functions-%23EF3939" alt="86 Functions" /></a>
</p>
</div>
16 changes: 8 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ mod is_ok;
mod is_some;
#[cfg(feature = "on_click_outside")]
mod on_click_outside;
#[cfg(feature = "use_web_lock")]
mod use_web_lock;
#[cfg(feature = "use_window_size")]
mod use_window_size;
#[cfg(feature = "signal_debounced")]
mod signal_debounced;
#[cfg(feature = "signal_throttled")]
Expand Down Expand Up @@ -142,6 +138,8 @@ mod use_to_string;
mod use_toggle;
#[cfg(feature = "use_user_media")]
mod use_user_media;
#[cfg(feature = "use_web_lock")]
mod use_web_lock;
#[cfg(feature = "use_web_notification")]
mod use_web_notification;
#[cfg(feature = "use_websocket")]
Expand All @@ -152,6 +150,8 @@ mod use_window;
mod use_window_focus;
#[cfg(feature = "use_window_scroll")]
mod use_window_scroll;
#[cfg(feature = "use_window_size")]
mod use_window_size;
#[cfg(feature = "watch_debounced")]
mod watch_debounced;
#[cfg(feature = "watch_pausable")]
Expand All @@ -173,10 +173,6 @@ pub use is_ok::*;
pub use is_some::*;
#[cfg(feature = "on_click_outside")]
pub use on_click_outside::*;
#[cfg(feature = "use_web_lock")]
pub use use_web_lock::*;
#[cfg(feature = "use_window_size")]
pub use use_window_size::*;
#[cfg(feature = "signal_debounced")]
pub use signal_debounced::*;
#[cfg(feature = "signal_throttled")]
Expand Down Expand Up @@ -287,6 +283,8 @@ pub use use_to_string::*;
pub use use_toggle::*;
#[cfg(feature = "use_user_media")]
pub use use_user_media::*;
#[cfg(feature = "use_web_lock")]
pub use use_web_lock::*;
#[cfg(feature = "use_web_notification")]
pub use use_web_notification::*;
#[cfg(feature = "use_websocket")]
Expand All @@ -297,6 +295,8 @@ pub use use_window::*;
pub use use_window_focus::*;
#[cfg(feature = "use_window_scroll")]
pub use use_window_scroll::*;
#[cfg(feature = "use_window_size")]
pub use use_window_size::*;
#[cfg(feature = "watch_debounced")]
pub use watch_debounced::*;
#[cfg(feature = "watch_pausable")]
Expand Down
10 changes: 5 additions & 5 deletions src/use_web_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ pub use web_sys::LockMode;

/// Rustified [Web Locks API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API).
///
/// The **Web Locks API** allows scripts running in one tab or worker to asynchronously acquire a
/// lock, hold it while work is performed, then release it. While held, no other script executing
/// in the same origin can acquire the same lock, which allows a web app running in multiple tabs or
/// The **Web Locks API** allows scripts running in one tab or worker to asynchronously acquire a
/// lock, hold it while work is performed, then release it. While held, no other script executing
/// in the same origin can acquire the same lock, which allows a web app running in multiple tabs or
/// workers to coordinate work and the use of resources.
///
///
/// > This function requires `--cfg=web_sys_unstable_apis` to be activated as
/// [described in the wasm-bindgen guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html).
/// > [described in the wasm-bindgen guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html).
///
/// ## Demo
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use leptos::*;
///{{#if (eq unstable_apis "true")}}
///
/// > This function requires `--cfg=web_sys_unstable_apis` to be activated as
/// [described in the wasm-bindgen guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html).{{/if}}
/// > [described in the wasm-bindgen guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html).{{/if}}
///
/// ## Demo
///
Expand Down

0 comments on commit 365b705

Please sign in to comment.