Skip to content

Commit

Permalink
Update ZigGlobalObject.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Nov 3, 2022
1 parent 35ba835 commit ab4e662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bun.js/bindings/ZigGlobalObject.cpp
Expand Up @@ -2737,7 +2737,7 @@ void GlobalObject::installAPIGlobals(JSClassRef* globals, int count, JSC::VM& vm
Crypto__randomUUID__put(this, JSValue::encode(object));
object->putDirectCustomAccessor(vm, JSC::Identifier::fromString(vm, "subtle"_s), JSC::CustomGetterSetter::create(vm, getterSubtleCrypto, nullptr),
JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::DontDelete | 0);
this->putDirect(vm, JSC::Identifier::fromString(vm, "Crypto"_s), object, JSC::PropertyAttribute::DontDelete | 0);
this->putDirect(vm, JSC::Identifier::fromString(vm, "crypto"_s), object, JSC::PropertyAttribute::DontDelete | 0);
}

for (j = 2; j < count - 1; j++) {
Expand Down

0 comments on commit ab4e662

Please sign in to comment.