From 32fce57b92a010f94bb22c1afe3e50e8a2b1f282 Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Thu, 5 Dec 2019 13:07:55 +0100 Subject: RESTRUCT Remove unused code --- src/js/bluetooth.js | 3 --- src/js/wifi.js | 2 +- 2 files changed, 1 insertion(+), 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); }); } -- cgit 1.2.3-korg