goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
23.29k stars 2.21k forks source link

Fix NW.JS compatibility #1705

Open Udo opened 5 months ago

Udo commented 5 months ago

When running on NW, Howler mistakenly detects the environment as Node.js, breaking pure web apps on the platform. By removing the else statement, the Howler object is available in both the global AND the window context.

Issue/Feature

Related Issues

Solution

Reproduction/Testing

Breaking Changes

N/A