From af5a062424f187d0885040f429812d9f51bbb511 Mon Sep 17 00:00:00 2001 From: Ryan Russell Date: Sun, 31 Jul 2022 03:10:49 -0500 Subject: refactor(bunjs/bindings): code readability fix `functionLazyLoadStreamPrototypeMap_getter` (#926) --- src/bun.js/bindings/ZigGlobalObject.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bun.js/bindings/ZigGlobalObject.cpp') diff --git a/src/bun.js/bindings/ZigGlobalObject.cpp b/src/bun.js/bindings/ZigGlobalObject.cpp index 7ce717cb6..faab35a28 100644 --- a/src/bun.js/bindings/ZigGlobalObject.cpp +++ b/src/bun.js/bindings/ZigGlobalObject.cpp @@ -380,9 +380,9 @@ void GlobalObject::setConsole(void* console) static JSC_DECLARE_HOST_FUNCTION(functionFulfillModuleSync); -JSC_DECLARE_CUSTOM_GETTER(functionLazyLoadStreamProtoypeMap_getter); +JSC_DECLARE_CUSTOM_GETTER(functionLazyLoadStreamPrototypeMap_getter); -JSC_DEFINE_CUSTOM_GETTER(functionLazyLoadStreamProtoypeMap_getter, +JSC_DEFINE_CUSTOM_GETTER(functionLazyLoadStreamPrototypeMap_getter, (JSC::JSGlobalObject * lexicalGlobalObject, JSC::EncodedJSValue thisValue, JSC::PropertyName)) { @@ -1916,7 +1916,7 @@ void GlobalObject::addBuiltinGlobals(JSC::VM& vm) putDirectCustomAccessor(vm, JSC::Identifier::fromString(vm, "URL"_s), JSC::CustomGetterSetter::create(vm, JSDOMURL_getter, nullptr), JSC::PropertyAttribute::DontDelete | 0); - putDirectCustomAccessor(vm, builtinNames.lazyStreamPrototypeMapPrivateName(), JSC::CustomGetterSetter::create(vm, functionLazyLoadStreamProtoypeMap_getter, nullptr), + putDirectCustomAccessor(vm, builtinNames.lazyStreamPrototypeMapPrivateName(), JSC::CustomGetterSetter::create(vm, functionLazyLoadStreamPrototypeMap_getter, nullptr), JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly | 0); putDirectCustomAccessor(vm, builtinNames.requireMapPrivateName(), JSC::CustomGetterSetter::create(vm, functionRequireMap_getter, nullptr), -- cgit v1.2.3