brockfanning/docpad-plugin-lunr — pull request #6 by nikolasleblanc (2014-06-18 15:58:16+00:00)
Title: Add docpad as parameter to _indexDocument function

Fixes error of "cannot getCollection of undefined" by passing the docpad object to the function directly. The docpad object was out-of-scope from within the function.