Sha256: 9fdada4ba48f5c19f975b392d6eb9ae116eabec8ee2882edcaf130d108ad977e
Contents?: true
Size: 581 Bytes
Versions: 67
Compression:
Stored size: 581 Bytes
Contents
pageflow.DisabledAtmoIndicatorView = Backbone.Marionette.View.extend({ className: 'disabled_atmo_indicator', events: { 'click': function() { pageflow.atmo.enable(); } }, initialize: function() { this.listenTo(pageflow.events, 'atmo:disabled', function() { this.$el.show(); }); this.listenTo(pageflow.events, 'atmo:enabled', function() { this.$el.hide(); }); this.$el.toggle(pageflow.atmo.disabled); }, render: function() { this.$el.attr('title', I18n.t('pageflow.editor.atmo.disabled')); return this; } });
Version data entries
67 entries across 67 versions & 1 rubygems