summaryrefslogtreecommitdiff
path: root/Libraries/LibJS
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-05-13 00:20:52 +0100
committerAndreas Kling <kling@serenityos.org>2020-05-13 09:36:20 +0200
commit1febee768d226fe9334a53b5b4a8302e81b567cf (patch)
tree7928b3b8315791e1d585a2c5855e296d404023ea /Libraries/LibJS
parent0c14ee035cec4f5c151cda5d0342f81d50b6e400 (diff)
downloadserenity-1febee768d226fe9334a53b5b4a8302e81b567cf.zip
AK: Replace String::trim_spaces() with String::trim_whitespace()
As suggested by @awesomekling in a code review and (initially) ignored by me :^) Implementation is roughly based on LibJS's trim_string(), but with a fix for trimming all-whitespace strings.
Diffstat (limited to 'Libraries/LibJS')
0 files changed, 0 insertions, 0 deletions