FIX: GroupedView bug with latest Ember build

This commit is contained in:
Robin Ward 2014-11-17 20:26:07 -05:00
parent e668d770ac
commit f73aa444ee
2 changed files with 2 additions and 0 deletions

View File

@ -9367,6 +9367,7 @@ define("ember-handlebars/helpers/view",
} else if (isGlobalPath(path)) {
return null;
} else if (path === 'this' || path === '') {
if (data.insideGroup && data.insideEach) { return 'context'; }
return '_parentView.context';
} else {
return '_parentView.context.' + path;

View File

@ -9074,6 +9074,7 @@ define("ember-handlebars/helpers/view",
} else if (isGlobalPath(path)) {
return null;
} else if (path === 'this' || path === '') {
if (data.insideGroup && data.insideEach) { return 'context'; }
return '_parentView.context';
} else {
return '_parentView.context.' + path;