Skip to content

Commit

Permalink
spelling: assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Sep 24, 2017
1 parent 62721da commit 12453af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/expressionRewritingBehaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('Expression Rewriting', function() {
var rewritten = ko.expressionRewriting.preProcessBindings(
'a : 1, b : firstName, c : function() { return "returnValue"; }, ' +
'd: firstName+lastName, e: boss.firstName, f: boss . lastName, ' +
'g: getAssitant(), h: getAssitant().firstName, i: getAssitant("[dummy]")[ "lastName" ], ' +
'g: getAssistant(), h: getAssistant().firstName, i: getAssistant("[dummy]")[ "lastName" ], ' +
'j: boss.firstName + boss.lastName'
);

Expand All @@ -111,7 +111,7 @@ describe('Expression Rewriting', function() {
var model = {
firstName: "bob", lastName: "smith",
boss: { firstName: "rick", lastName: "martin" },
getAssitant: function() { return assistant }
getAssistant: function() { return assistant }
};
with (model) {
var parsed = eval("({" + rewritten + "})");
Expand Down

0 comments on commit 12453af

Please sign in to comment.