Anton Shestakov <av6@dwimlabs.net>, Tue, 31 Oct 2017 12:44:53 +0800
Makefile: add a prologue with useful flags and options
static/js/framework/views/workspaces.js
Permissions: -rw-r--r--
var WorkspaceTabsView = CollectionView.extend({ initialize: function(options) { this.compileTemplates(options.templates); renderItem: function(workspace) { return $(this.templates.tab(workspace.toJSON())); appendItem: function(workspace) { var $item = this.renderItem(workspace); activate: function(workspace) { this.$('[data-workspace]').removeClass('active'); this.$('[data-workspace="' + workspace + '"]').addClass('active');