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:
parent
f5fc921d84
commit
ee1379520a
7 changed files with 8 additions and 0 deletions
|
@ -19,4 +19,5 @@ BooleanObject::BooleanObject(bool value, Object& prototype)
|
|||
, m_value(value)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -50,4 +50,5 @@ JS_DEFINE_NATIVE_FUNCTION(BooleanPrototype::value_of)
|
|||
|
||||
return Value(static_cast<BooleanObject const&>(this_value.as_object()).boolean());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -19,4 +19,5 @@ NumberObject::NumberObject(double value, Object& prototype)
|
|||
, m_value(value)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -21,4 +21,5 @@ StringIterator::StringIterator(String string, Object& prototype)
|
|||
, m_iterator(Utf8View(m_string).begin())
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -35,4 +35,5 @@ Script::Script(Realm& realm, StringView filename, NonnullRefPtr<Program> parse_n
|
|||
, m_host_defined(host_defined)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue