diff --git a/apps/timestamplog/app.js b/apps/timestamplog/app.js index 35845c5e0..c44ab719b 100644 --- a/apps/timestamplog/app.js +++ b/apps/timestamplog/app.js @@ -1,6 +1,5 @@ const Layout = require('Layout'); const locale = require('locale'); -const storage = require('Storage'); const tsl = require('timestamplog'); @@ -198,7 +197,7 @@ class MainScreen { Math.floor(availableHeight / logItemHeight)); // Populate log items in layout - for (i = 0; i < this.itemsPerPage; i++) { + for (let i = 0; i < this.itemsPerPage; i++) { layout.logItems.c.push( {type: 'custom', render: renderLogItem, item: undefined, itemIdx: undefined, fillx: 1, height: logItemHeight} @@ -385,7 +384,6 @@ class MainScreen { class LogEntryScreen { constructor(stampLog, logIdx) { - stampLog = stampLog; this.logIdx = logIdx; this.logItem = stampLog.log[logIdx];