summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-04-17 22:59:52 +0200
committerLinus Groh <mail@linusgroh.de>2022-04-17 23:00:35 +0200
commitee1379520a68cb169040a3782d9f54412d89845c (patch)
tree37c83c085570005f8eda5bf4b5771e61b976c4ce
parentf5fc921d84a3b41547b5ed3caa08a8fa3b7a1136 (diff)
downloadserenity-ee1379520a68cb169040a3782d9f54412d89845c.zip
LibJS: Add missing whitespace around namespace curly braces
-rw-r--r--Userland/Libraries/LibJS/Runtime/BooleanObject.cpp1
-rw-r--r--Userland/Libraries/LibJS/Runtime/BooleanObject.h2
-rw-r--r--Userland/Libraries/LibJS/Runtime/BooleanPrototype.cpp1
-rw-r--r--Userland/Libraries/LibJS/Runtime/GeneratorFunctionPrototype.cpp1
-rw-r--r--Userland/Libraries/LibJS/Runtime/NumberObject.cpp1
-rw-r--r--Userland/Libraries/LibJS/Runtime/StringIterator.cpp1
-rw-r--r--Userland/Libraries/LibJS/Script.cpp1
7 files changed, 8 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/BooleanObject.cpp b/Userland/Libraries/LibJS/Runtime/BooleanObject.cpp
index d8b5197955..948016f9f7 100644
--- a/Userland/Libraries/LibJS/Runtime/BooleanObject.cpp
+++ b/Userland/Libraries/LibJS/Runtime/BooleanObject.cpp
@@ -19,4 +19,5 @@ BooleanObject::BooleanObject(bool value, Object& prototype)
, m_value(value)
{
}
+
}
diff --git a/Userland/Libraries/LibJS/Runtime/BooleanObject.h b/Userland/Libraries/LibJS/Runtime/BooleanObject.h
index 6b3ef6368b..a1ed7f6752 100644
--- a/Userland/Libraries/LibJS/Runtime/BooleanObject.h
+++ b/Userland/Libraries/LibJS/Runtime/BooleanObject.h
@@ -9,6 +9,7 @@
#include <LibJS/Runtime/Object.h>
namespace JS {
+
class BooleanObject : public Object {
JS_OBJECT(BooleanObject, Object);
@@ -23,4 +24,5 @@ public:
private:
bool m_value { false };
};
+
}
diff --git a/Userland/Libraries/LibJS/Runtime/BooleanPrototype.cpp b/Userland/Libraries/LibJS/Runtime/BooleanPrototype.cpp
index cee8afe7b8..4d36bcbba9 100644
--- a/Userland/Libraries/LibJS/Runtime/BooleanPrototype.cpp
+++ b/Userland/Libraries/LibJS/Runtime/BooleanPrototype.cpp
@@ -50,4 +50,5 @@ JS_DEFINE_NATIVE_FUNCTION(BooleanPrototype::value_of)
return Value(static_cast<BooleanObject const&>(this_value.as_object()).boolean());
}
+
}
diff --git a/Userland/Libraries/LibJS/Runtime/GeneratorFunctionPrototype.cpp b/Userland/Libraries/LibJS/Runtime/GeneratorFunctionPrototype.cpp
index 7b9fe61f94..aff916cd6f 100644
--- a/Userland/Libraries/LibJS/Runtime/GeneratorFunctionPrototype.cpp
+++ b/Userland/Libraries/LibJS/Runtime/GeneratorFunctionPrototype.cpp
@@ -25,4 +25,5 @@ void GeneratorFunctionPrototype::initialize(GlobalObject& global_object)
// 27.3.3.3 GeneratorFunction.prototype [ @@toStringTag ], https://tc39.es/ecma262/#sec-generatorfunction.prototype-@@tostringtag
define_direct_property(*vm.well_known_symbol_to_string_tag(), js_string(vm, "GeneratorFunction"), Attribute::Configurable);
}
+
}
diff --git a/Userland/Libraries/LibJS/Runtime/NumberObject.cpp b/Userland/Libraries/LibJS/Runtime/NumberObject.cpp
index f188c0888b..8a4313706e 100644
--- a/Userland/Libraries/LibJS/Runtime/NumberObject.cpp
+++ b/Userland/Libraries/LibJS/Runtime/NumberObject.cpp
@@ -19,4 +19,5 @@ NumberObject::NumberObject(double value, Object& prototype)
, m_value(value)
{
}
+
}
diff --git a/Userland/Libraries/LibJS/Runtime/StringIterator.cpp b/Userland/Libraries/LibJS/Runtime/StringIterator.cpp
index 1681a57591..eb1c931477 100644
--- a/Userland/Libraries/LibJS/Runtime/StringIterator.cpp
+++ b/Userland/Libraries/LibJS/Runtime/StringIterator.cpp
@@ -21,4 +21,5 @@ StringIterator::StringIterator(String string, Object& prototype)
, m_iterator(Utf8View(m_string).begin())
{
}
+
}
diff --git a/Userland/Libraries/LibJS/Script.cpp b/Userland/Libraries/LibJS/Script.cpp
index 74862ddc82..c9104cc7c4 100644
--- a/Userland/Libraries/LibJS/Script.cpp
+++ b/Userland/Libraries/LibJS/Script.cpp
@@ -35,4 +35,5 @@ Script::Script(Realm& realm, StringView filename, NonnullRefPtr<Program> parse_n
, m_host_defined(host_defined)
{
}
+
}