REFACTOR: Sync up master with changes for Ember-CLI (#11671)

The more parallel the branches, the easier the transition will be.
This commit is contained in:
Robin Ward
2021-01-12 10:13:21 -05:00
committed by GitHub
parent 499a594754
commit e80332a2bc
22 changed files with 21362 additions and 5 deletions

View File

@ -40,8 +40,8 @@ export function registerRawHelpers(hbs, handlebarsClass) {
}
var list = get(this, contextName);
var output = [];
var innerContext = Object.create(this);
for (var i = 0; i < list.length; i++) {
let innerContext = {};
innerContext[localName] = list[i];
output.push(options.fn(innerContext));
}