mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-24 14:42:35 +03:00
Rename local param to locale
This commit is contained in:
parent
0d3f706195
commit
00a0152adf
@ -3070,14 +3070,14 @@ extern "C" {
|
||||
///
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toLocaleLowerCase
|
||||
#[wasm_bindgen(method, js_class = "String", js_name = toLocaleLowerCase)]
|
||||
pub fn to_locale_lower_case(this: &JsString, local: Option<&str>) -> JsString;
|
||||
pub fn to_locale_lower_case(this: &JsString, locale: Option<&str>) -> JsString;
|
||||
|
||||
/// The toLocaleUpperCase() method returns the calling string value converted to upper case,
|
||||
/// according to any locale-specific case mappings.
|
||||
///
|
||||
/// https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/String/toLocaleUpperCase
|
||||
#[wasm_bindgen(method, js_class = "String", js_name = toLocaleUpperCase)]
|
||||
pub fn to_locale_upper_case(this: &JsString, local: Option<&str>) -> JsString;
|
||||
pub fn to_locale_upper_case(this: &JsString, locale: Option<&str>) -> JsString;
|
||||
|
||||
/// The `toLowerCase()` method returns the calling string value
|
||||
/// converted to lower case.
|
||||
|
Loading…
Reference in New Issue
Block a user