Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jfd committed Mar 8, 2010
1 parent ee9c0d4 commit a92c4f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/json-matching.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var resolver = Match (

// Matches when field's firstName and lastName has a string
// value and when a home phone number is present.
{ lastName: String, phone: { home: String }}, function(last, phone) {
{ lastName: String, phone: { 'home': String }}, function(last, phone) {
puts(' - Matched: ' + last + ' (phone: ' + phone + ' )');
}

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function main() {
},

['msg', Number, Number], function(no1, no2) {
println(' - Matched { id: ' + id + ' no1: ' + no1 + ' no2: ' + no2 + ' }');
println(' - Matched { no1: ' + no1 + ' no2: ' + no2 + ' }');
},

// Default handler, if no other case is matching.
Expand Down

0 comments on commit a92c4f7

Please sign in to comment.