browser-solc icon indicating copy to clipboard operation
browser-solc copied to clipboard

async load browser-solc

Open marcusmolchany opened this issue 7 years ago • 2 comments

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.

marcusmolchany avatar Jan 12 '18 22:01 marcusmolchany

Hi @marcusmolchany - late response here. Are you still interested in putting in a PR?

ericxtang avatar Mar 04 '19 20:03 ericxtang

hey @ericxtang, i don't have time to make a pr for this right now. tag me if there's discussion or a pr for it though.

marcusmolchany avatar Mar 06 '19 00:03 marcusmolchany