!function(){var moduleFactory=function($){var module=this;$.require().script("mvc/controller","mvc/lang.openajax").done(function(){var exports=function(){$.Controller.processors.subscribe=function(el,event,selector,cb,controller){var subscription=OpenAjax.hub.subscribe(selector,function(){return controller[cb].apply(controller,arguments)});return function(){OpenAjax.hub.unsubscribe(subscription)}},$.Controller.prototype.publish=function(){OpenAjax.hub.publish.apply(OpenAjax.hub,arguments)}};exports(),module.resolveWith(exports)
})};dispatch("mvc/controller.subscribe").containing(moduleFactory).to("Foundry/2.1 Modules")}();