Use strict comparison for first
This commit is contained in:
@@ -103,7 +103,7 @@ function registerDefaultHelpers(instance) {
|
||||
if(data) {
|
||||
data.key = key;
|
||||
data.index = i;
|
||||
data.first = (i == 0);
|
||||
data.first = (i === 0);
|
||||
}
|
||||
ret = ret + fn(context[key], {data: data});
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user