Skip to content

async load browser-solc #1

@marcusmolchany

Description

@marcusmolchany

Hey! I'd like to asynchronously load browser-solc on a webpage. Right now for non-IE browsers, the main handler is listening for DOMContentLoaded before it attaches BrowserSolc to window (here). However, if this script tag is asynchronously loaded and arrives after DOMContentLoaded it will never execute.

I'll propose a PR for this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions