Fix eslint no-plusplus in es5 files

[MAILPOET-1145]
This commit is contained in:
Pavel Dohnal
2018-02-19 16:08:29 +00:00
parent e10901d939
commit de91c90ac2
5 changed files with 8 additions and 7 deletions

View File

@ -73,7 +73,7 @@ define(
// object or array based on the type of the next keys part.
// * Move the 'cur' pointer to the next level.
// * Rinse & repeat.
for (; i <= keysLast; i++) {
for (; i <= keysLast; i += 1) {
key = keys[i] === '' ? cur.length : keys[i];
cur[key] = i < keysLast
? cur[key] || (keys[i + 1] && isNaN(keys[i + 1]) ? {} : [])