derickbailey/backbone.marionette — pull request #225 by johnkpaul (2012-08-17 17:46:54+00:00)
Title: allow template functions with async renderer

When using the async addon, template functions don't work currently. This is because the async renderer assumes that only template ids are passed into TemplateCache.get().

I've just added a check to see if it is a function, it is wrapped in a deferred and passed back immediately.