segmentio/model-defaults — pull request #2 by treygriffith (2013-09-08 19:56:16+00:00)
Title: Call Default Functions with the Model as the context

Defaults that are defined with a function are called within the context of the model, allowing access to other attributes of the model. Since the call was in the global context previously, this shouldn't break existing code.