Skip to content

Commit

Permalink
reorder example
Browse files Browse the repository at this point in the history
  • Loading branch information
mroth committed Sep 4, 2014
1 parent 6e2ff98 commit 78e57c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ environment. :dizzy:
13

> EmojiData.find_by_name("tree").map(
function(c) { return [c.unified, c.name, c.render()]; }
function(c) { return [c.unified, c.render(), c.name]; }
);
[ [ '1F332', 'EVERGREEN TREE', '🌲' ],
[ '1F333', 'DECIDUOUS TREE', '🌳' ],
[ '1F334', 'PALM TREE', '🌴' ],
[ '1F384', 'CHRISTMAS TREE', '🎄' ],
[ '1F38B', 'TANABATA TREE', '🎋' ] ]
[ [ '1F332', '🌲', 'EVERGREEN TREE' ],
[ '1F333', '🌳', 'DECIDUOUS TREE' ],
[ '1F334', '🌴', 'PALM TREE' ],
[ '1F384', '🎄', 'CHRISTMAS TREE' ],
[ '1F38B', '🎋', 'TANABATA TREE' ] ]

> EmojiData.scan("I ♥ when marketers talk about the ☁. #blessed").forEach(
function(ec) { console.log("Found some " + ec.short_name + "!"); }
Expand Down

0 comments on commit 78e57c5

Please sign in to comment.