1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 22:00:03 -04:00

Replace every ... with … like some sort of crazy person

Also fix some small typos

Closes https://github.com/emilk/egui/pull/736
This commit is contained in:
Emil Ernerfeldt
2021-10-13 11:52:34 +02:00
parent 85941033e8
commit 6f699b3391
21 changed files with 35 additions and 35 deletions

View File

@@ -37,17 +37,17 @@ static AGENT_ID: &str = "egui_text_agent";
// ----------------------------------------------------------------------------
// Helpers to hide some of the verbosity of web_sys
/// Log some text to the developer console (`console.log(...)` in JS)
/// Log some text to the developer console (`console.log()` in JS)
pub fn console_log(s: impl Into<JsValue>) {
web_sys::console::log_1(&s.into());
}
/// Log a warning to the developer console (`console.warn(...)` in JS)
/// Log a warning to the developer console (`console.warn()` in JS)
pub fn console_warn(s: impl Into<JsValue>) {
web_sys::console::warn_1(&s.into());
}
/// Log an error to the developer console (`console.error(...)` in JS)
/// Log an error to the developer console (`console.error()` in JS)
pub fn console_error(s: impl Into<JsValue>) {
web_sys::console::error_1(&s.into());
}