Skip to content

Commit

Permalink
fix build error: checktrailingspaces:main
Browse files Browse the repository at this point in the history
  • Loading branch information
barsh committed Sep 18, 2018
1 parent 3d92edc commit f5ba9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/defaultBindings/foreachBehaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ describe('Binding: Foreach', function() {
ko.applyBindings({ someItems: someItems }, testNode);
expect(testNode.childNodes[0]).toContainText('alphaalpha:aa,alphaalpha:bb,betabeta:cc,betabeta:dd,');
});

it('Should provide itemNext as pureComputed in the context accessible across multiple nested levels', function() {
testNode.innerHTML = "<div data-bind='foreach: { data: someItems, as: \"item\", noChildContext: true }'>"
+ "<span data-bind='foreach: { data: item.sub, as: \"subvalue\", noChildContext: true }'>"
Expand Down

0 comments on commit f5ba9ac

Please sign in to comment.