mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibJS: Implement get Intl.Collator.prototype.compare
This commit is contained in:
parent
0bdb293262
commit
6558f4ae6b
Notes:
sideshowbarker
2024-07-17 18:28:00 +09:00
Author: https://github.com/IdanHo
Commit: 6558f4ae6b
Pull-request: https://github.com/SerenityOS/serenity/pull/12687
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/trflynn89 ✅
5 changed files with 84 additions and 7 deletions
|
@ -91,5 +91,10 @@ StringView Collator::case_first_string() const
|
|||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
}
|
||||
void Collator::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_bound_compare);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue