Skip to content

Commit

Permalink
fix RubyLouvre#887 BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyLouvre committed Jul 1, 2015
1 parent b8077c5 commit 0c74011
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 4 deletions.
3 changes: 3 additions & 0 deletions avalon.js
Original file line number Diff line number Diff line change
Expand Up @@ -4307,6 +4307,9 @@ bindingExecutors.repeat = function (method, pos, el) {
start = comments[0]
if (start) {
sweepNodes(start, end)
if(data.$with){
parent.insertBefore(start, end)
}
}
break
case "move":
Expand Down
3 changes: 3 additions & 0 deletions dist/avalon.js
Original file line number Diff line number Diff line change
Expand Up @@ -4307,6 +4307,9 @@ bindingExecutors.repeat = function (method, pos, el) {
start = comments[0]
if (start) {
sweepNodes(start, end)
if(data.$with){
parent.insertBefore(start, end)
}
}
break
case "move":
Expand Down
4 changes: 2 additions & 2 deletions dist/avalon.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/avalon.mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3623,6 +3623,9 @@ bindingExecutors.repeat = function (method, pos, el) {
start = comments[0]
if (start) {
sweepNodes(start, end)
if(data.$with){
parent.insertBefore(start, end)
}
}
break
case "move":
Expand Down
2 changes: 1 addition & 1 deletion dist/avalon.mobile.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/avalon.mobile.old.js
Original file line number Diff line number Diff line change
Expand Up @@ -4307,6 +4307,9 @@ bindingExecutors.repeat = function (method, pos, el) {
start = comments[0]
if (start) {
sweepNodes(start, end)
if(data.$with){
parent.insertBefore(start, end)
}
}
break
case "move":
Expand Down
3 changes: 3 additions & 0 deletions dist/avalon.mobile.shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -3622,6 +3622,9 @@ bindingExecutors.repeat = function (method, pos, el) {
start = comments[0]
if (start) {
sweepNodes(start, end)
if(data.$with){
parent.insertBefore(start, end)
}
}
break
case "move":
Expand Down
3 changes: 3 additions & 0 deletions dist/avalon.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -3623,6 +3623,9 @@ bindingExecutors.repeat = function (method, pos, el) {
start = comments[0]
if (start) {
sweepNodes(start, end)
if(data.$with){
parent.insertBefore(start, end)
}
}
break
case "move":
Expand Down
2 changes: 1 addition & 1 deletion dist/avalon.modern.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/avalon.modern.shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -3623,6 +3623,9 @@ bindingExecutors.repeat = function (method, pos, el) {
start = comments[0]
if (start) {
sweepNodes(start, end)
if(data.$with){
parent.insertBefore(start, end)
}
}
break
case "move":
Expand Down
3 changes: 3 additions & 0 deletions dist/avalon.shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -4307,6 +4307,9 @@ bindingExecutors.repeat = function (method, pos, el) {
start = comments[0]
if (start) {
sweepNodes(start, end)
if(data.$with){
parent.insertBefore(start, end)
}
}
break
case "move":
Expand Down
3 changes: 3 additions & 0 deletions src/19 directive/repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ bindingExecutors.repeat = function (method, pos, el) {
start = comments[0]
if (start) {
sweepNodes(start, end)
if(data.$with){
parent.insertBefore(start, end)
}
}
break
case "move":
Expand Down

0 comments on commit 0c74011

Please sign in to comment.