Skip to content

Commit 635f6a4

Browse files
committed
pushing final changes
1 parent b602e4b commit 635f6a4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/right-sidebar/CodeSnippet.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ export default {
136136
137137
// Iterates through active component's HTML elements list and adds to code snippet
138138
let htmlArr = this.componentMap[componentName].htmlList;
139-
console.log("ALERT")
140-
console.log('hellloo')
141-
console.log("here", htmlArr[0].class)
142-
console.log(htmlArr[0].children);
139+
// console.log("ALERT")
140+
// console.log('hellloo')
141+
// console.log("here", htmlArr[0].class)
142+
// console.log(htmlArr[0].children);
143143
let outputStr = ``;
144144
// eslint-disable-next-line no-unused-vars
145145
for (const el of htmlArr) {
@@ -241,7 +241,7 @@ export default {
241241
console.log("down here", htmlArray);
242242
let styleString = "";
243243
for (const html of htmlArray) {
244-
if (!html.class) styleString = "";
244+
if (html.class === ' ') styleString = "";
245245
if (html.class) {
246246
styleString += `.${html.class} {\n}\n`
247247
}

0 commit comments

Comments
 (0)