fix(view): changed view manager to hydrate change detector after creating directives
This commit is contained in:
@@ -185,7 +185,6 @@ export class AppViewManagerUtils {
|
||||
}
|
||||
view.context = context;
|
||||
view.locals.parent = parentLocals;
|
||||
view.changeDetector.hydrate(view.context, view.locals, view);
|
||||
|
||||
var binders = view.proto.elementBinders;
|
||||
for (var i = 0; i < binders.length; ++i) {
|
||||
@@ -212,7 +211,7 @@ export class AppViewManagerUtils {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
view.changeDetector.hydrate(view.context, view.locals, view);
|
||||
}
|
||||
|
||||
_setUpEventEmitters(view:viewModule.AppView, elementInjector:eli.ElementInjector, boundElementIndex:number) {
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ export class Log {
|
||||
}
|
||||
|
||||
fn(value) {
|
||||
return () => {
|
||||
return (a1 = null, a2 = null, a3 = null, a4 = null, a5 = null) => {
|
||||
ListWrapper.push(this._result, value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user