From da09730f94be23f901e378458934a05721058831 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Mon, 25 Jan 2021 20:28:31 +0100 Subject: [PATCH] Update symbols log --- src/dom_components/model/Component.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/dom_components/model/Component.js b/src/dom_components/model/Component.js index 62f346024..c927b4b91 100644 --- a/src/dom_components/model/Component.js +++ b/src/dom_components/model/Component.js @@ -590,18 +590,7 @@ const Component = Backbone.Model.extend(Styleable).extend( const symbol = this.__getSymbol(); const symbols = this.__getSymbols(); if (!symbol && !symbols) return; - console.log( - `symbols:${type}`, - this.cid, - 'hasSymbol', - symbol ? 'Y' : 'N', - 'hasSymbols', - symbols ? symbols.length : 'N', - 'toUp', - toUp.map(i => i.cid), - 'opts', - opts - ); + this.em.log(type, { model: this, toUp, context: 'symbols', opts }); }, __initSymb() {