Sha256: 98dc98e16de0936310a7e9006dbcf80d95c615914ab311ad639f51c0ebdd85a0
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
Locomotive.Views.PageContent ||= {} class Locomotive.Views.PageContent.EditView extends Backbone.View el: '.content-main' events: 'click .content-overlay': 'close_sidebar' initialize: -> _.bindAll(@, 'shrink_preview', 'close_sidebar') render: -> super() # FIXME: the real magic happens in the app/javascript/src/locomotive/editor.es6 file shrink_preview: (event) -> $(@el).removeClass('actionbar-closed') close_sidebar: (event) -> PubSub.publish 'sidebar.close'
Version data entries
4 entries across 4 versions & 1 rubygems