fix(core): fix not declared variable in view engine (#14045)

In TypeScript, referring to `name` does not lead to an error
as `window` also has a property `name`.
This commit is contained in:
Tobias Bosch 2017-01-23 11:23:15 -08:00 committed by Alex Rickabaugh
parent dff6ee3272
commit d3a3a8e1fc
1 changed files with 2 additions and 1 deletions

View File

@ -241,7 +241,8 @@ function checkAndUpdateProp(
provider[propName] = value;
if (view.def.flags & ViewFlags.LogBindingUpdate) {
setBindingDebugInfo(view.renderer, view.nodes[def.parent].renderNode, name, value);
setBindingDebugInfo(
view.renderer, view.nodes[def.parent].renderNode, binding.nonMinifiedName, value);
}
if (change) {
changes = changes || {};