mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 03:01:12 +08:00
feat: 补齐 String Annex B HTML 包装方法族
This commit is contained in:
@@ -281,6 +281,19 @@ impl BuiltinWorld {
|
||||
("lastIndexOf", methods.last_index_of, 1),
|
||||
("isWellFormed", methods.is_well_formed, 0),
|
||||
("toWellFormed", methods.to_well_formed, 0),
|
||||
("anchor", methods.anchor, 1),
|
||||
("big", methods.big, 0),
|
||||
("blink", methods.blink, 0),
|
||||
("bold", methods.bold, 0),
|
||||
("fixed", methods.fixed, 0),
|
||||
("fontcolor", methods.fontcolor, 1),
|
||||
("fontsize", methods.fontsize, 1),
|
||||
("italics", methods.italics, 0),
|
||||
("link", methods.link, 1),
|
||||
("small", methods.small, 0),
|
||||
("strike", methods.strike, 0),
|
||||
("sub", methods.sub, 0),
|
||||
("sup", methods.sup, 0),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -126,6 +126,19 @@ pub struct StringMethods {
|
||||
pub to_locale_lower_case: *const (),
|
||||
pub to_locale_upper_case: *const (),
|
||||
pub locale_compare: *const (),
|
||||
pub anchor: *const (),
|
||||
pub big: *const (),
|
||||
pub blink: *const (),
|
||||
pub bold: *const (),
|
||||
pub fixed: *const (),
|
||||
pub fontcolor: *const (),
|
||||
pub fontsize: *const (),
|
||||
pub italics: *const (),
|
||||
pub link: *const (),
|
||||
pub small: *const (),
|
||||
pub strike: *const (),
|
||||
pub sub: *const (),
|
||||
pub sup: *const (),
|
||||
}
|
||||
|
||||
/// RegExp 原型方法的 native 函数指针集合。
|
||||
|
||||
Reference in New Issue
Block a user