Use eslint, add travis-ci

This commit is contained in:
Horcrux
2016-05-04 17:54:30 +08:00
parent be8c273adf
commit cbce096b5c
41 changed files with 93 additions and 297 deletions

View File

@@ -1,6 +1,7 @@
import _ from 'lodash';
function arrayDiffer(a, b) {
if (a == null) {
if (_.isNil(a)) {
return true;
}
if (a.length !== b.length) {