📝 Fix code style issue
* Match equality operators for consistent that `==`, `!=` by `===`, `!==`. * Match string expression notation `"` by `'`. [ci skip]
This commit is contained in:
parent
3cc2dd216f
commit
5787bb0226
11 changed files with 33 additions and 33 deletions
|
@ -219,15 +219,15 @@ let win = new BrowserWindow({
|
|||
|
||||
win.setThumbarButtons([
|
||||
{
|
||||
tooltip: "button1",
|
||||
tooltip: 'button1',
|
||||
icon: path.join(__dirname, 'button1.png'),
|
||||
click: () => { console.log("button2 clicked"); }
|
||||
click: () => { console.log('button2 clicked'); }
|
||||
},
|
||||
{
|
||||
tooltip: "button2",
|
||||
tooltip: 'button2',
|
||||
icon: path.join(__dirname, 'button2.png'),
|
||||
flags:['enabled', 'dismissonclick'],
|
||||
click: () => { console.log("button2 clicked."); }
|
||||
click: () => { console.log('button2 clicked.'); }
|
||||
}
|
||||
]);
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue