lint: prettier

This commit is contained in:
kunkka 2020-10-31 14:03:41 +08:00
parent 3e38604119
commit d93e7ad015
2 changed files with 3 additions and 4 deletions

View File

@ -35,13 +35,13 @@ export default {
},
data() {
return {
isElectron: process.env.IS_ELECTRON // "true" || undefined
}
isElectron: process.env.IS_ELECTRON, // "true" || undefined
};
},
created() {
if (this.isElectron) {
//
document.body.classList.add('is-electron')
document.body.classList.add("is-electron");
// ipc message channel
const electron = window.require("electron");
const ipcRenderer = electron.ipcRenderer;

View File

@ -102,4 +102,3 @@ const touchBar = new TouchBar({
// })
module.exports = touchBar;