I ran into issues when running Snap.svg inside of Electron, the popular node.js+chromium distribution. The issue is that Electron has modules support via node.js, and this cause eve to not get exported correctly. This small change allows it to run in both web contexts and inside of Electron.
Hi -
I ran into issues when running Snap.svg inside of Electron, the popular node.js+chromium distribution. The issue is that Electron has modules support via node.js, and this cause eve to not get exported correctly. This small change allows it to run in both web contexts and inside of Electron.
Cheers, -Courtland