Skip to content

anonymous /module.js

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Javascript Large
define(["jquery", "use!underscore", "Aura/facade", "Aura/mediator"],
function ($, _, facade, mediator) {
facade.subscribe('mBlocksSubscriber', 'mobily', function(selector){
$(selector).mobilyblocks();
});
facade.subscribe('BtnsRenderer','renderBtns', function (context, Buttons, SBView) {
_.each( Buttons, function(coll){
$.when(
new SBView({collection: coll, currentID: coll.name}),
coll.fetch()
).then(function(){
mediator.publish('mobily', 'div[id ^="solfg_"]');
});
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.