derickbailey/backbone.marionette — pull request #132 by ClemensSchneider (2012-06-10 11:26:44+00:00)
Title: fixed missing dependencies for async module and moved extensions to Application, Region and View from helpers to their appropriate module files

Hey,

there still were some issues for the build-version of the async module:
a) the helper-functions were missing
b) the referenced 'Marionette.Async' object did not exist
c) init hasn't been called
d) backbone.marionette.helpers.js did contain code related to Region, Application and View (BindTo extensions). Moved this to the related module files. Required the inclusion of bindTo.js to occur earlier.
e) TemplateCache and Region versions of async module weren't applied in Async.init()

I added src/async/async.init.js that is only included for the build-version of marionette and applies the async-versions to their regular counterparts. This initialization must not be done for the tests, so async.init.js is not included there.

Are you fine with these changes? :)