mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
LibJS: Move locale_relevant_extension_keys to Intl.Locale
This commit is contained in:
parent
7769cd2cab
commit
673fc02ac5
3 changed files with 16 additions and 13 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
#include <LibUnicode/Forward.h>
|
||||
|
@ -20,6 +21,8 @@ class Locale final : public Object {
|
|||
public:
|
||||
static Locale* create(GlobalObject&, Unicode::LocaleID const&);
|
||||
|
||||
static Vector<StringView> const& relevant_extension_keys(); // [[RelevantExtensionKeys]]
|
||||
|
||||
Locale(Object& prototype);
|
||||
Locale(Unicode::LocaleID const&, Object& prototype);
|
||||
virtual ~Locale() override = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue