Use Javascript strict mode

This commit is contained in:
Chocobo1 2018-11-30 18:30:26 +08:00
parent 1c525d9c19
commit 1cb065edc6
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
27 changed files with 54 additions and 0 deletions

View file

@ -8,6 +8,8 @@
it in the onContentLoaded function of the new window.
----------------------------------------------------------------- */
'use strict';
/* Define localStorage object for older browsers */
if (typeof localStorage == 'undefined') {
window['localStorage'] = {