connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10k stars 577 forks source link

Fix forEach is not a function and use strict #147

Open ghost opened 6 years ago

ghost commented 6 years ago

Fix Uncaught TypeError: filesContext.forEach is not a function with simple wrapper Array created from fileContext

Fix the Block-scoped declarations (let, const, function, class) not yet supported outside strict mode using strict