Anton Shestakov <av6@dwimlabs.net>, Wed, 25 May 2016 18:48:58 +0800
index: update moment.js to 2.13.0
coffee/sidebar.coffee
Permissions: -rw-r--r--
class window.Tram.SidebarApp extends Backbone.View "background: #{ @colors[show] || @colors['default'] };" minified = not @model.get('sidebar/minified') @model.set('sidebar/minified', minified) @$el.parent().toggleClass('mini', minified) $btn = $(event.currentTarget) show = $btn.attr('data-show') status = $btn.text().trim() @model.trigger('action/show', show, status) @model.trigger('action/disconnect') @rivet = rivets.bind(@el, model: @model, view: this)