Skip to content

Commit 58d612e

Browse files
committed
removed extraneous console logs
1 parent e65b3ce commit 58d612e

File tree

8 files changed

+1
-20
lines changed

8 files changed

+1
-20
lines changed

extractor.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ const getVueFiles = (package = "iview") => {
8080
return vueFilePathList;
8181
};
8282

83-
console.log(getVueFiles());
8483

8584
//work with documentation for parse vue to work out how to use this
8685
function parseVueFile(path) {
@@ -89,7 +88,7 @@ function parseVueFile(path) {
8988
return parsedFile
9089
}
9190

92-
console.log(parseVueFile(getVueFiles()[0]))
91+
9392

9493
function generateImportObjs(pathList) { // or something
9594
// iterate through paths

src/components/Canvas.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,6 @@ export default {
537537
// this.initialPosition.y = this.activeComponentData.y;
538538
// },
539539
isElementPlus(htmlList) {
540-
console.log(htmlList);
541540
return htmlList.find(({ text }) => text[0] === 'e');
542541
},
543542
//color change function
@@ -647,7 +646,6 @@ export default {
647646
648647
// renders modal with Update Children and Layer in it
649648
handleAddNotes() {
650-
console.log(this.activeComponentData);
651649
if (this.wasDragged === false && this.activeComponent !== '') {
652650
this.openNoteModal();
653651
}

src/components/composables/useCreateComponent.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ export function useCreateComponent(importObj) {
2828
return false;
2929
}
3030
// boilerplate properties for each component upon creation
31-
console.log(importObj.parent);
32-
console.log({ y: importObj?.parent?.y })
3331
const component = {
3432
x: importObj?.parent?.x ?? 0,
3533
y: importObj?.parent?.y ?? 0,
@@ -68,9 +66,4 @@ export function useCreateComponent(importObj) {
6866
}
6967
createComponent(importObj)
7068

71-
// console logging all components from Element Plus to determine shape of data and investigate structure of components
72-
// console.log(ElementPlus)
73-
// components all within giant object
7469
}
75-
76-
//

src/components/left-sidebar/ComponentTab/ImportLibraryButton.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
}
3434
this.changeLibComponentDisplay(payload);
3535
this.changeLib(payload);
36-
// console.log(this.$store.state.importLibraries.includes('element'));
3736
},
3837
3938

src/components/left-sidebar/ComponentTab/ParentMultiselect.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export default {
4444
// 'routes'
4545
]),
4646
options() {
47-
console.log(this.routes);
4847
return this.routes[this.activeRoute].map(
4948
(component) => component.componentName
5049
);

src/components/nav-buttons/ExportMenu.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,7 @@ test('renders ${componentName}', () => {
482482
writeStyle(componentName) {
483483
let htmlArray = this.componentMap[componentName].htmlList;
484484
let styleString = "";
485-
console.log(componentName);
486485
// Add grid css property to view component div
487-
if (this.routes)
488486
// adds view component id grid style and adds child component css styling
489487
if (this.routes.hasOwnProperty(componentName)) {
490488
styleString += `#${componentName} {\n\tdisplay: grid; \n\tgrid-template-columns: repeat(${this.gridLayout[0]}, 1fr);\n\tgrid-template-rows: repeat(${this.gridLayout[1]}, 1fr);\n\tgrid-column-gap: 0px;\n\tgrid-row-gap: 0px;\n}\n`;

src/layouts/MyLayout.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ export default {
279279
280280
},
281281
syncOauthGitFlag(e) {
282-
console.log(this.$store.state.exportOauthGithub);
283282
284283
let checkboxValue;
285284
if (e.target.value === "off") {
@@ -288,7 +287,6 @@ export default {
288287
checkboxValue = "off";
289288
}
290289
this.$store.commit("EXPORT_OAUTH_GIT", checkboxValue);
291-
console.log(this.$store.state.exportOauthGithub);
292290
293291
},
294292
clickedUndo() {

src/store/mutations.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,8 +1078,6 @@ const mutations = {
10781078

10791079
// change grid density
10801080
[types.CHANGE_GRID_DENSITY]: (state, payload) => {
1081-
// state.gridLayout = payload.direction === 'height' ? [state.gridLayout[0], payload.densityNum]:[payload.densityNum, state.gridLayout[1]];
1082-
// console.log(payload);
10831081
if (payload.direction === 'height'){
10841082
state.gridLayout[1] = payload.densityNum;
10851083

@@ -1100,7 +1098,6 @@ const mutations = {
11001098
updatedComponent.y = (rowStart - 1) * state.containerW / state.gridLayout[0];
11011099
updatedComponent.w = (colEnd - 1) * state.containerH / state.gridLayout[1] - updatedComponent.y;
11021100
updatedComponent.h = (rowEnd - 1) * state.containerW / state.gridLayout[0] - updatedComponent.x;
1103-
// Math.round((rowEnd - 1) * state.containerW / state.gridLayout[0]) - updatedComponent.x
11041101
}
11051102
);
11061103
},

0 commit comments

Comments
 (0)