aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-12-05 13:07:55 +0100
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:20:13 +0100
commit32fce57b92a010f94bb22c1afe3e50e8a2b1f282 (patch)
tree1373319af0038adf208126f10f2b9181d2a00fa6 /src/js
parent98b144f23ce771a22dce73c827be7924993cfca5 (diff)
RESTRUCT Remove unused code
Diffstat (limited to 'src/js')
-rw-r--r--src/js/bluetooth.js3
-rw-r--r--src/js/wifi.js2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/js/bluetooth.js b/src/js/bluetooth.js
index 65fa340..258a8a7 100644
--- a/src/js/bluetooth.js
+++ b/src/js/bluetooth.js
@@ -2,7 +2,6 @@ import { bluetooth } from 'agl-js-api';
import Mustache from 'mustache';
import { load as load_template } from './templates';
import * as app from './app';
-import { getMaxListeners } from 'cluster';
var template;
var page = {
@@ -35,8 +34,6 @@ function update_devices(devices) {
}
});
- console.log(page);
-
render();
}
diff --git a/src/js/wifi.js b/src/js/wifi.js
index d9f91d0..15d9173 100644
--- a/src/js/wifi.js
+++ b/src/js/wifi.js
@@ -36,7 +36,7 @@ export function init() {
template = result;
Mustache.parse(template);
}, function(error) {
- console.error('ERROR Loading bluetooth template', error);
+ console.error('ERROR Loading wifi template', error);
});
}