Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Commit

Permalink
Migrate all JavaScript files to Strict Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ExE-Boss committed Sep 16, 2017
1 parent 67ec10f commit 21d2154
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";
/* global browser */

let prevStates = new Map();
Expand Down
1 change: 1 addition & 0 deletions src/options/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";
/* global browser */

document.addEventListener("DOMContentLoaded", async () => {
Expand Down
4 changes: 2 additions & 2 deletions src/options/options.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" type="text/css" href="options.css"/>
<link rel="stylesheet" type="text/css" href="/browser-style-supplement/extension-options.css"/>
<script src="../shared.js"/>
<script src="options.js"/>
<script type="application/javascript" src="/shared.js"/>
<script type="application/javascript" src="options.js"/>
</head>
<body>
<h1 class="browser-style" data-i18n="options_header"/>
Expand Down
1 change: 1 addition & 0 deletions src/popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";
/* global browser */

/**
Expand Down
4 changes: 2 additions & 2 deletions src/popup/popup.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<title>Application Menu</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" type="text/css" href="popup.css"/>
<script src="../shared.js"/>
<script src="popup.js"/>
<script type="application/javascript" src="/shared.js"/>
<script type="application/javascript" src="popup.js"/>
</head>
<body>
<main id="main" class="panel-section">
Expand Down
1 change: 1 addition & 0 deletions src/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";

/**
* Gets the default theme for the current browser.
Expand Down

0 comments on commit 21d2154

Please sign in to comment.