cucumber/cucumber-js — pull request #96 by isra17 (2012-11-01 20:05:58+00:00)
Title: Add options parameter to JsonFormatter

JsonFormatter is the only formatter not using Cucumber.Listener.Formatter. Listener.Formatter add an option to define the logging callback which can be usefull. I needed to use the formatter without process.stdout in a browser so I added a new 'options' parameter used by Listener.Formatter. 'self' now inherit from Listener.Formatter instead of Listener.

This change is needed to use JsonFormatter in a browser.