Browse Source

LibJS: Add missing whitespace around namespace curly braces

Linus Groh 3 years ago
parent
commit
ee1379520a

+ 1 - 0
Userland/Libraries/LibJS/Runtime/BooleanObject.cpp

@@ -19,4 +19,5 @@ BooleanObject::BooleanObject(bool value, Object& prototype)
     , m_value(value)
 {
 }
+
 }

+ 2 - 0
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 };
 };
+
 }

+ 1 - 0
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());
 }
+
 }

+ 1 - 0
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);
 }
+
 }

+ 1 - 0
Userland/Libraries/LibJS/Runtime/NumberObject.cpp

@@ -19,4 +19,5 @@ NumberObject::NumberObject(double value, Object& prototype)
     , m_value(value)
 {
 }
+
 }

+ 1 - 0
Userland/Libraries/LibJS/Runtime/StringIterator.cpp

@@ -21,4 +21,5 @@ StringIterator::StringIterator(String string, Object& prototype)
     , m_iterator(Utf8View(m_string).begin())
 {
 }
+
 }

+ 1 - 0
Userland/Libraries/LibJS/Script.cpp

@@ -35,4 +35,5 @@ Script::Script(Realm& realm, StringView filename, NonnullRefPtr<Program> parse_n
     , m_host_defined(host_defined)
 {
 }
+
 }