2 * DO NOT EDIT THIS FILE.
3 * See the following change record for more information,
4 * https://www.drupal.org/node/2815083
8 (function (Drupal, $, Backbone) {
9 Drupal.quickedit.EntityDecorationView = Backbone.View.extend({
10 initialize: function initialize() {
11 this.listenTo(this.model, 'change', this.render);
13 render: function render() {
14 this.$el.toggleClass('quickedit-entity-active', this.model.get('isActive'));
16 remove: function remove() {
17 this.setElement(null);
18 Backbone.View.prototype.remove.call(this);
21 })(Drupal, jQuery, Backbone);