diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-05-30 01:44:18 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-30 10:32:05 +0100 |
commit | 6bfeb8757228392d9d394779a45b541bedd5cab7 (patch) | |
tree | bd45c9191574ae7c6b48c711118fcd312ba3bc72 /Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h | |
parent | 460c0f984796605a55e6e172d34201c9bbaee0d2 (diff) | |
download | serenity-6bfeb8757228392d9d394779a45b541bedd5cab7.zip |
LibJS: Add String.prototype.anchor & friends
Adds an implementation of the following StringPrototype methods:
anchor, big, blink, bold, fixed, fontcolor, fontsize, italics, link,
small, strike, sub, sup.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h index 552695acf8..1cce212878 100644 --- a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h +++ b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h @@ -44,6 +44,7 @@ namespace JS { P(acosh) \ P(all) \ P(allSettled) \ + P(anchor) \ P(any) \ P(apply) \ P(arguments) \ @@ -56,7 +57,10 @@ namespace JS { P(atan) \ P(atan2) \ P(atanh) \ + P(big) \ P(bind) \ + P(blink) \ + P(bold) \ P(buffer) \ P(byteLength) \ P(byteOffset) \ @@ -103,9 +107,12 @@ namespace JS { P(finally) \ P(find) \ P(findIndex) \ + P(fixed) \ P(flags) \ P(flat) \ P(floor) \ + P(fontcolor) \ + P(fontsize) \ P(forEach) \ P(freeze) \ P(from) \ @@ -159,12 +166,14 @@ namespace JS { P(isSafeInteger) \ P(isSealed) \ P(isView) \ + P(italics) \ P(join) \ P(keyFor) \ P(keys) \ P(lastIndex) \ P(lastIndexOf) \ P(length) \ + P(link) \ P(log) \ P(log1p) \ P(log2) \ @@ -214,6 +223,7 @@ namespace JS { P(sin) \ P(sinh) \ P(slice) \ + P(small) \ P(some) \ P(sort) \ P(source) \ @@ -221,9 +231,12 @@ namespace JS { P(sqrt) \ P(startsWith) \ P(sticky) \ + P(strike) \ P(stringify) \ + P(sub) \ P(substr) \ P(substring) \ + P(sup) \ P(tan) \ P(tanh) \ P(test) \ |