modulejs.define('view/topbar', ['$', 'config', 'view/root'], function ($, config, root) { var template = '
' + '
' + ''; var $el = $(template).appendTo(root.$el); return { $el: $el, $toolbar: $el.find('#toolbar'), $crumbbar: $el.find('#crumbbar') }; });