JavaScript-V8-Handlebars
view release on metacpan or search on metacpan
share/handlebars-v4.0.11.js view on Meta::CPAN
for (var j = context.length; i < j; i++) {
if (i in context) {
execIteration(i, i, i === context.length - 1);
}
}
} else {
var priorKey = undefined;
for (var key in context) {
if (context.hasOwnProperty(key)) {
// We're running the iterations one step out of sync so we can detect
// the last iteration without have to scan the object twice and create
// an itermediate keys array.
if (priorKey !== undefined) {
execIteration(priorKey, i - 1);
}
priorKey = key;
i++;
}
}
if (priorKey !== undefined) {
( run in 2.420 seconds using v1.01-cache-2.11-cpan-71847e10f99 )