@@ -141,14 +141,14 @@ export default {
141141 window .addEventListener (' copy' , () => {
142142 // if there is an activeComponent, copy info to state using dispatch
143143 if (this .activeComponent ) {
144- console .log (' copied!' , this .activeComponent );
144+ // console.log('copied!', this.activeComponent);
145145 this .$store .dispatch (" copyActiveComponent" );
146146 }
147147 });
148148
149149 window .addEventListener (' paste' , () => {
150150 this .$store .dispatch (" pasteActiveComponent" );
151- console .log (' pasted' );
151+ // console.log('pasted');
152152 })
153153 },
154154
@@ -352,7 +352,7 @@ export default {
352352
353353 // unhighlights all inactive components
354354 onActivated (componentData ) {
355- console .log (' onActivated - comp display, componentData' , componentData)
355+ // console.log('onActivated - comp display, componentData', componentData)
356356 if (this .$refs .boxes ) {
357357 this .$refs .boxes .forEach (element => {
358358 if (element .$attrs .id !== componentData .componentName ) {
@@ -389,7 +389,7 @@ export default {
389389
390390 // user can change component's layer order
391391 handleLayer (e ) {
392- console .log (' handeLayer\' s e: ' , e)
392+ // console.log('handeLayer\'s e: ', e)
393393 e .preventDefault ();
394394 const payload = {
395395 activeComponent: this .activeComponent ,
@@ -411,7 +411,7 @@ export default {
411411
412412 // event handler for copying (ctrl+C)
413413 copyActiveComponent () {
414- console .log (' copied' );
414+ // console.log('copied');
415415 }
416416
417417 },
0 commit comments