Skip to content

Commit

Permalink
Merge branch 'dispatch-target-1082'
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Jun 16, 2014
2 parents 846a738 + bfcefe7 commit 21b131d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion component/component_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ steal("can/component", "can/view/stache", function () {
equal(frag.childNodes[0].innerHTML, '', 'child component is not inserted');
can.scope(frag.childNodes[0]).attr('shown', true);

equal(frag.childNodes[0].innerHTML, '<child-component>Hello world.</child-component>', 'child component is inserted');
equal(frag.childNodes[0].childNodes[0].innerHTML, 'Hello world.', 'child component is inserted');
can.scope(frag.childNodes[0]).attr('shown', false);

equal(frag.childNodes[0].innerHTML, '', 'child component is removed');
Expand Down
2 changes: 1 addition & 1 deletion list/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ steal("can/util", "can/map", "can/map/bubble.js",function (can, Map, bubble) {
// remove any items that were just added from the removed array
if(added.length && removed.length){
for (j = 0; j < removed.length; j++) {
if(added.indexOf(removed[j]) !== -1) {
if(can.inArray(added, removed[j]) !== -1) {
cleanRemoved.splice(j, 1);
}
}
Expand Down

0 comments on commit 21b131d

Please sign in to comment.