chaplinjs/chaplin — pull request #178 by bez4pieci (2012-09-09 15:23:27+00:00)
Title: Enable multiple requirejs contexts

Adding require as dependency for Dispatcher allows Dispatcher to use the correct "require" instance in multiple-context environments.

Example: When using Aloha editor in a Chaplin app, Aloha is being
loaded in a different requirejs context. Chaplin thus uses require with
a wrong baseUrl setting and cannot find controllers.

Adding require as dependency for Dispatcher fixes that.