var Backbone = require('backbone');
var ComponentView = require('./ComponentTextView');

module.exports = ComponentView.extend({

  events: {
    'dblclick': 'enableEditing',
  },

  render(...args) {
    ComponentView.prototype.render.apply(this, args);

    // I need capturing instead of bubbling as bubbled clicks from other
    // children will execute the link event
    this.el.addEventListener('click', this.prevDef, true);

    return this;
  },

});

@@ -127,59 +127,8 @@
 (%7B%0A%0A
-  events: %7B%0A    'dblclick': 'enableEditing',%0A  %7D,%0A%0A
   re

remove dblclick event listener from ComponentLinkView