mongodb/cookbook — pull request #6 by penartur (2013-07-19 12:10:24+00:00)
Title: Improve code highlighting

`mapReduce` accepts both code strings and function objects as its `map` and `reduce` arguments.

Defining these as function objects instead of code strings in tutorial improves readability, as function objects definition are correctly highlighted, while code strings are treated as plain string literals.