dist/tao.js in tao_on_rails-0.4.1 vs dist/tao.js in tao_on_rails-0.4.2
- old
+ new
@@ -30952,23 +30952,17 @@
return customElements.define(componentClass.tag, componentClass);
};
_Class.observedAttributes = [];
- _Class.prototype._initShadowRoot = function() {
- return this.shadowRoot = this.attachShadow({
- mode: 'open'
- });
- };
-
_Class.prototype.connectedCallback = function() {
- this.connected = true;
- this._connect();
if (!this.initialized) {
this.classList.add('tao-component');
this._init();
- return this.initialized = true;
+ this.initialized = true;
}
+ this.connected = true;
+ return this._connect();
};
_Class.prototype.disconnectedCallback = function() {
this.connected = false;
return this._disconnect();