Permalink
Browse files

fixed typo

  • Loading branch information...
1 parent ee9c0d4 commit a92c4f778586b38eae77772ec5881d0fd2f6d3da @jfd committed Mar 8, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 examples/json-matching.js
  2. +1 −1 examples/simple/main.js
@@ -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 + ' )');
}
View
@@ -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.

0 comments on commit a92c4f7

Please sign in to comment.