Switched to using eslint

This commit is contained in:
Rob Moran
2017-05-21 23:21:19 +01:00
parent cb728b7efb
commit 824ccfea21
9 changed files with 330 additions and 41 deletions

4
dist/dfu.js vendored
View File

@@ -230,7 +230,7 @@
log("connected to device");
currentServer = gattServer;
// This delay is needed because BlueZ needs time to update it's cache.
return new Promise(function(resolve, reject) {
return new Promise(function(resolve) {
setTimeout(resolve, 2000);
});
})
@@ -257,7 +257,7 @@
versionChar = characteristic;
complete();
})
.catch(function(error) {
.catch(function() {
log("info: no version characteristic found");
complete();
});