Remove logging

pull/5139/head
Christopher Mardell 5 years ago
parent 61b596cee8
commit 142bd91530

@ -467,7 +467,6 @@ export default function dom(
} }
} }
$$setup(options) { $$setup(options) {
console.log("$$setup");
${css.code && b`this.shadowRoot.innerHTML = \`<style>${css.code.replace(/\\/g, '\\\\')}${options.dev ? `\n/*# sourceMappingURL=${css.map.toUrl()} */` : ''}</style>\`;`} ${css.code && b`this.shadowRoot.innerHTML = \`<style>${css.code.replace(/\\/g, '\\\\')}${options.dev ? `\n/*# sourceMappingURL=${css.map.toUrl()} */` : ''}</style>\`;`}
@init(this, { props: options ? options.props : null, target: this.shadowRoot }, ${definition}, ${has_create_fragment ? 'create_fragment': 'null'}, ${not_equal}, ${prop_indexes}, ${dirty}); @init(this, { props: options ? options.props : null, target: this.shadowRoot }, ${definition}, ${has_create_fragment ? 'create_fragment': 'null'}, ${not_equal}, ${prop_indexes}, ${dirty});

@ -178,7 +178,6 @@ if (typeof HTMLElement === 'function') {
} }
connectedCallback() { connectedCallback() {
console.log("connectedCallback");
if (!this.$$) { if (!this.$$) {
// wasn't set up from constructor as options were not ready // wasn't set up from constructor as options were not ready
const options = Object.keys(this.$$initialProps).length ? const options = Object.keys(this.$$initialProps).length ?
@ -200,7 +199,6 @@ if (typeof HTMLElement === 'function') {
// initial implementation of method, will be overridden on setup // initial implementation of method, will be overridden on setup
attributeChangedCallback(attr, _oldValue, newValue) { attributeChangedCallback(attr, _oldValue, newValue) {
console.log(`attributeChangedCallback: ${attr}, ${newValue}`);
if (this.$$initialProps) { if (this.$$initialProps) {
this.$$initialProps[attr] = newValue; this.$$initialProps[attr] = newValue;
} }

Loading…
Cancel
Save