Skip to content

Commit

Permalink
export ko.utils.objectMap; fix test typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mbest committed Apr 15, 2017
1 parent 975affd commit 9798f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spec/observableArrayBehaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ describe('Observable Array', function() {
expect(newArray).toEqual([ 1, 3, 5, 7 ]);
expect(newArray).not.toBe(testObservableArray());

var newArray2 = testObservableArray.sorted(function(a b) {
var newArray2 = testObservableArray.sorted(function(a, b) {
return b - a;
});
expect(newArray2).toEqual([ 7, 5, 3, 1 ]);
Expand Down
1 change: 1 addition & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ ko.exportSymbol('utils.arrayRemoveItem', ko.utils.arrayRemoveItem);
ko.exportSymbol('utils.extend', ko.utils.extend);
ko.exportSymbol('utils.fieldsIncludedWithJsonPost', ko.utils.fieldsIncludedWithJsonPost);
ko.exportSymbol('utils.getFormFields', ko.utils.getFormFields);
ko.exportSymbol('utils.objectMap', ko.utils.objectMap);
ko.exportSymbol('utils.peekObservable', ko.utils.peekObservable);
ko.exportSymbol('utils.postJson', ko.utils.postJson);
ko.exportSymbol('utils.parseJson', ko.utils.parseJson);
Expand Down

0 comments on commit 9798f6d

Please sign in to comment.