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,6 @@
/* global chrome */
//jshint esnext:true
var $ = require('jquery');
var moment = require('moment');
@@ -34,7 +37,7 @@ class WakaTime {
dataType: 'json',
success: (data) => {
deferredObject.resolve(data.data[0]['grand_total']);
deferredObject.resolve(data.data[0].grand_total);
},
error: (xhr, status, err) => {