Fix eslint no-redeclare in es5 files
[MAILPOET-1146]
This commit is contained in:
committed by
Rostislav Wolný
parent
fa44127efa
commit
3b2355d570
@@ -20,7 +20,6 @@
|
|||||||
"no-restricted-syntax": 0,
|
"no-restricted-syntax": 0,
|
||||||
"no-useless-concat": 0,
|
"no-useless-concat": 0,
|
||||||
"no-nested-ternary": 0,
|
"no-nested-ternary": 0,
|
||||||
"no-redeclare": 0,
|
|
||||||
"no-console": 0,
|
"no-console": 0,
|
||||||
"no-empty": 0,
|
"no-empty": 0,
|
||||||
"no-useless-escape": 0,
|
"no-useless-escape": 0,
|
||||||
|
@@ -731,8 +731,8 @@ define(
|
|||||||
});
|
});
|
||||||
|
|
||||||
// start array index from 1
|
// start array index from 1
|
||||||
Handlebars.registerHelper('calculate_index', function (index) {
|
Handlebars.registerHelper('calculate_index', function (rawIndex) {
|
||||||
var index = parseInt(index);
|
var index = parseInt(rawIndex);
|
||||||
// display filler data (e.g., ellipsis) if we've reached the maximum number of rows and
|
// display filler data (e.g., ellipsis) if we've reached the maximum number of rows and
|
||||||
// subscribers count is greater than the maximum number of rows we're displaying
|
// subscribers count is greater than the maximum number of rows we're displaying
|
||||||
if (index === maxRowsToShow && subscribers.subscribersCount > (maxRowsToShow + 1)) {
|
if (index === maxRowsToShow && subscribers.subscribersCount > (maxRowsToShow + 1)) {
|
||||||
|
Reference in New Issue
Block a user