stealjs / steal

Gets JavaScript
https://stealjs.com
MIT License
1.36k stars 522 forks source link

Fix using electron with an npm project #1452

Closed matthewp closed 6 years ago

matthewp commented 6 years ago

this fixes locate in an npm project that is using Electron. Previously locate would incorrectly encode the URL because it thought it was not running in a browser.

Fixes #1451