Added JSHint and JSXHint for linting the code.

This commit is contained in:
Mario Basic
2015-06-18 13:39:47 +02:00
parent 5788f0755d
commit 4c968263f7
27 changed files with 35521 additions and 127 deletions

View File

@@ -1,3 +1,5 @@
/* global chrome */
var config = require('../config');
/**
@@ -6,7 +8,9 @@ var config = require('../config');
*
* @param color
*/
function changeExtensionIcon(color = '') {
function changeExtensionIcon(color) {
color = color ? color : '';
var path = null;
@@ -43,4 +47,4 @@ function changeExtensionIcon(color = '') {
}
export default changeExtensionIcon;
module.exports = changeExtensionIcon;