leotiger / grav-plugin-backup-manager

An Enanced Backup Manager for Grav
MIT License
15 stars 3 forks source link

Strict mode with Chrome #1

Closed ghost closed 7 years ago

ghost commented 7 years ago

Great job, man!

No problem with Firefox. Using Google Chrome you get this error:

backup-manager.js: 8 Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

At the beginning of the file you need to add "use strict"; Now it seems that everything works!

leotiger commented 7 years ago

Version 0.1.1 fixes this with some other minor fixes and improvements.

Thanks @iusvar for reporting.

u