paritytech / parity-extension

Parity Chrome Extension
GNU General Public License v3.0
37 stars 14 forks source link

Load scripts and assets from JSON file #47

Closed ngotchac closed 7 years ago

ngotchac commented 7 years ago

Closes #19

Waiting for https://github.com/ethcore/parity/pull/4426 to get merged.

A embed.json file is created from the UI build, with the assets embed.xxx.js is dependant on. Here, we fetch those assets, and replace the URL with the one of the fetched assets.

ngotchac commented 7 years ago

Fallback to old version : get the scripts and files from the HTML file if the embed.json file is not available.