PaulUithol/Backbone-relational — pull request #377 by malte-wessel (2013-07-10 11:40:28+00:00)
Title: relatedModel property as function

When using requirejs and related Models, you often end up with circular dependencies. In this case it's very difficult to find a clean solution. Giving the opportunity to pass a relatedModel as function solves this problem. When the relations getting built, check if the property is a function (and not an instance of Backbone.Model). Then call it.
Works great with require.js and keeps the code clean.