Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

1.1 KB
Raw Blame
use super::*;

mod cursor_key_range;
mod database_transaction;
mod factory;
mod object_store_index;

pub(in crate::context_bootstrap) fn install_indexed_db_template_bindings<'s>(
    scope: &mut v8::PinScope<'s, '_, ()>,
    template: v8::Local<'s, v8::FunctionTemplate>,
    interface_name: &str,
) {
    let prototype = template.prototype_template(scope);
    super::super::event_target::install_version_change_event_template_bindings(
        scope,
        prototype,
        interface_name,
    );
    install_dom_string_list_template_bindings(scope, prototype, interface_name);
    factory::install_factory_template_bindings(scope, prototype, interface_name);
    database_transaction::install_database_and_transaction_template_bindings(
        scope,
        prototype,
        interface_name,
    );
    object_store_index::install_object_store_and_index_template_bindings(
        scope,
        prototype,
        interface_name,
    );
    cursor_key_range::install_cursor_and_key_range_template_bindings(
        scope,
        template,
        interface_name,
    );
}