Skip to content

Commit

Permalink
fix: <uku-repeat issue for not finding slibingelement>
Browse files Browse the repository at this point in the history
  • Loading branch information
momoko8443 committed Feb 26, 2018
1 parent 80fcb23 commit 084b417
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/uku.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/uku.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/model/BoundItemRepeat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class BoundItemRepeat extends BoundItemBase{
}
}

let child:HTMLElement = commentNode.nextSibling as HTMLElement;
let child:HTMLElement = (commentNode as HTMLElement).nextElementSibling as HTMLElement;
for (let j = 0; j < finalValue.length; j++) {
child.removeAttribute("uku-repeat");
var Uku_Clazz = (<any>this.uku).constructor;
Expand Down

0 comments on commit 084b417

Please sign in to comment.