mirror of
https://github.com/discourse/discourse.git
synced 2025-06-21 20:31:50 +08:00
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:
@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user