diff --git a/Model/Action/Dom/Datalist/Append.js b/Model/Action/Dom/Datalist/Append.js index 8f1c4f9..73cffa9 100644 --- a/Model/Action/Dom/Datalist/Append.js +++ b/Model/Action/Dom/Datalist/Append.js @@ -15,7 +15,7 @@ const datalistAppend = function (action, callback) let option; - for (let i = 0; i < dataLength; i++) { + for (let i = 0; i < dataLength; ++i) { option = document.createElement('option'); option.value = action.data[i][action.text]; option.setAttribute('data-value', action.data[i][action.value]); diff --git a/Model/Action/Dom/Table/Append.js b/Model/Action/Dom/Table/Append.js index a024b6b..edfbb3c 100644 --- a/Model/Action/Dom/Table/Append.js +++ b/Model/Action/Dom/Table/Append.js @@ -18,14 +18,14 @@ const tableAppend = function (action, callback) let row, cell, text, rawText; - for (let i = 0; i < dataLength; i++) { + for (let i = 0; i < dataLength; ++i) { if (tbody === null) { break; } row = tbody.insertRow(tbody.rows.length); - for (let j = 0; j < headerLength; j++) { + for (let j = 0; j < headerLength; ++j) { if (row === null) { break; } diff --git a/UI/UIManager.js b/UI/UIManager.js index ca3a4dd..35fde75 100644 --- a/UI/UIManager.js +++ b/UI/UIManager.js @@ -36,7 +36,7 @@ this.domObserver = new MutationObserver(function(mutations) { const length = mutations.length; - for(let i = 0; i < length; i++) { + for(let i = 0; i < length; ++i) { self.app.eventManager.trigger(mutations[i].target.id + '-' + mutations[i].type, 0, mutations[i]); } });