Skip to content

Commit d3c21fa

Browse files
committed
lintd up
1 parent 2668a29 commit d3c21fa

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

src/components/ExportProject.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// import path from "path";
1212
// const ipc = require("electron").ipcRenderer;
1313
export default {
14-
name: "ExportProjectComponent",
14+
name: 'ExportProjectComponent'
1515
// methods: {
1616
// showExportDialog() {
1717
// remote.dialog.showSaveDialog({
@@ -373,7 +373,7 @@ export default {
373373
// computed: {
374374
// ...mapState(["componentMap"])
375375
// }
376-
};
376+
}
377377
378378
</script>
379379

src/components/HomeSideDropDownItems/ComponentList.vue

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,37 +28,37 @@
2828
/**
2929
* TODO: Needs functionality to delete component, and (maybe) show child components
3030
*/
31-
import { mapState, mapActions } from "vuex";
31+
import { mapState, mapActions } from 'vuex'
3232
3333
export default {
3434
computed: {
35-
...mapState(["routes", "activeRoute", "activeComponent"]),
36-
activeRouteDisplay() {
37-
let component = this.routes[this.activeRoute];
38-
return component;
35+
...mapState(['routes', 'activeRoute', 'activeComponent']),
36+
activeRouteDisplay () {
37+
let component = this.routes[this.activeRoute]
38+
return component
3939
},
40-
activeComponentData() {
40+
activeComponentData () {
4141
return this.activeRouteDisplay.filter(componentData => {
42-
return componentData.componentName === this.activeComponent;
43-
})[0];
42+
return componentData.componentName === this.activeComponent
43+
})[0]
4444
}
4545
},
4646
methods: {
4747
...mapActions([
48-
"setActiveComponent",
49-
"deleteComponent",
50-
"deleteActiveComponent"
48+
'setActiveComponent',
49+
'deleteComponent',
50+
'deleteActiveComponent'
5151
]),
52-
onActivated(componentData) {
53-
this.setActiveComponent(componentData.componentName);
54-
this.activeComponentData.isActive = true;
52+
onActivated (componentData) {
53+
this.setActiveComponent(componentData.componentName)
54+
this.activeComponentData.isActive = true
5555
},
56-
handleClick(componentData) {
57-
this.setActiveComponent(componentData.componentName);
58-
this.deleteActiveComponent(componentData.componentName);
56+
handleClick (componentData) {
57+
this.setActiveComponent(componentData.componentName)
58+
this.deleteActiveComponent(componentData.componentName)
5959
}
6060
}
61-
};
61+
}
6262
</script>
6363

6464
<style>

src/components/OpenProjectComponent.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
// import { mapState, mapActions } from 'vuex'
1212
1313
export default {
14-
name: 'OpenProjectComponent',
14+
name: 'OpenProjectComponent'
1515
// methods: {
1616
// ...mapActions([
1717
// 'setComponentMap',
1818
// 'setRoutes',
1919
// ]),
20-
// parseFileName(file) {
20+
// parseFileName(file) {
2121
// //Obtains json file name from file path
2222
// return file.split('/').pop();
2323
// },
@@ -49,7 +49,7 @@ export default {
4949
// });
5050
// }
5151
}
52-
</script>
52+
</script>
5353

5454
<style scoped>
5555
.mr-sm {

src/components/SaveProjectComponent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// const Mousetrap = require('mousetrap');
1111
1212
export default {
13-
name: "SaveProjetComponent"
13+
name: 'SaveProjetComponent'
1414
// methods: {
1515
// showSaveJSONDialog(){
1616
// remote.dialog.showSaveDialog({
@@ -132,7 +132,7 @@ export default {
132132
// this.saveProjectJSON()
133133
// })
134134
// }
135-
};
135+
}
136136
</script>
137137

138138
<!-- } -->

0 commit comments

Comments
 (0)