mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-04-01 18:06:46 +00:00
class_index => class_id
This commit is contained in:
@@ -111,7 +111,7 @@ pub fn init(allocator: Allocator, platform: *const Platform, _: Opts) !*Env {
|
||||
const templates = &env.templates;
|
||||
inline for (JsApis, 0..) |JsApi, i| {
|
||||
@setEvalBranchQuota(10_000);
|
||||
JsApi.Meta.class_index = i;
|
||||
JsApi.Meta.class_id = i;
|
||||
templates[i] = v8.Persistent(v8.FunctionTemplate).init(isolate, generateClass(JsApi, isolate)).castToFunctionTemplate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user