mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-30 00:56:32 +13:00
Add .jshintrc, and use the "use strict" directive
.jshintrc's otion-set is a personal choice, merely a suggestion. Beside that, it includes some common globals for specific browsers, so there's no need to set the globals in every .js file. In order to force strict coding, "use strict" directive was added into every .js file.
This commit is contained in:
parent
cd08ad9782
commit
db83931fb7
1 changed files with 0 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
||||||
// only for background and other extension pages
|
// only for background and other extension pages
|
||||||
/* global chrome, Components, BeforeLoadEvent */
|
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
Loading…
Reference in a new issue