Skip to content

Commit

Permalink
fix(renderer): use _eachChildView for nextSibling
Browse files Browse the repository at this point in the history
  • Loading branch information
sis0k0 committed Mar 22, 2017
1 parent 83b8bcf commit 150c1ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nativescript-angular/animations/animation-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class NativeScriptAnimationEngine extends DomAnimationEngine {
// find all of the children that are currently animating and clear
// them out by destroying each of them.
let elms = [];
element._eachLayoutView(child => {
(<any>element)._eachChildView(child => {
if (cssClasses(<NgView>child).get(MARKED_FOR_ANIMATION)) {
elms.push(child);
}
Expand Down
2 changes: 1 addition & 1 deletion nativescript-angular/view-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class ViewUtil {
let index = 0;
let found = false;

parent._eachLayoutView(child => {
(<any>parent)._eachChildView(child => {
if (child === node) {
found = true;
}
Expand Down

0 comments on commit 150c1ce

Please sign in to comment.