rm new
This commit is contained in:
@@ -40074,8 +40074,8 @@ void JS_AddIntrinsicBaseObjects(JSContext *ctx)
|
||||
js_blob_proto_funcs, countof(js_blob_proto_funcs));
|
||||
|
||||
JSValue blob_ctor = JS_NewCFunction2(ctx, js_blob_constructor, "blob", 3,
|
||||
JS_CFUNC_constructor, 0);
|
||||
JS_SetConstructor(ctx, blob_ctor, ctx->class_proto[JS_CLASS_BLOB]);
|
||||
JS_CFUNC_generic, 0);
|
||||
// JS_SetConstructor(ctx, blob_ctor, ctx->class_proto[JS_CLASS_BLOB]);
|
||||
JS_DefinePropertyValueStr(ctx, ctx->global_obj, "blob", blob_ctor,
|
||||
JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user