js/src/shared/ModuleBrowser/ModuleBrowserNavigation.js
var ModuleBrowserTabItemView = require('shared/ModuleBrowser/ModuleBrowserTabItemView');
module.exports = Backbone.View.extend({
catSet: false,
initialize: function (options) {
var that = this;
this.options = options || {};
this.$list = jQuery('<div></div>').appendTo(this.$el);
_.each(this.options.cats, function (cat) {
var model = new Backbone.Model(cat);
new ModuleBrowserTabItemView({parent: that, model: model, browser: that.options.browser}).render();
});
}
});