Skip to content

Commit

Permalink
Update dumper example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dervus Grim committed Feb 8, 2013
1 parent be66652 commit f2b3ace
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions examples/dumper.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ console.log(yaml.dump(object, {

// Output:
//==============================================================================
// "name": "Wizzard"
// "level": 0x11
// "sanity": Null
// "inventory":
// - "name": "Hat"
// "features": ["magic", "pointed"]
// "traits": {}
// - "name": "Staff"
// "features": []
// "traits": {"damage": 0xA}
// - "name": "Cloak"
// "features": ["old"]
// "traits": {"defence": 0x0, "comfort": 0x3}
// name: Wizzard
// level: 0x11
// sanity: Null
// inventory:
// - name: Hat
// features: [magic, pointed]
// traits: {}
// - name: Staff
// features: []
// traits: {damage: 0xA}
// - name: Cloak
// features: [old]
// traits: {defence: 0x0, comfort: 0x3}

0 comments on commit f2b3ace

Please sign in to comment.