1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:45:07 +00:00

LibJS: Add missing whitespace around namespace curly braces

This commit is contained in:
Linus Groh 2022-04-17 22:59:52 +02:00
parent f5fc921d84
commit ee1379520a
7 changed files with 8 additions and 0 deletions

View file

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

View file

@ -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 };
};
}

View file

@ -50,4 +50,5 @@ JS_DEFINE_NATIVE_FUNCTION(BooleanPrototype::value_of)
return Value(static_cast<BooleanObject const&>(this_value.as_object()).boolean());
}
}

View file

@ -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);
}
}

View file

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

View file

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

View file

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