()
| 79 | }; |
| 80 | |
| 81 | function handleNewButton() { |
| 82 | if (false) { |
| 83 | newFile(); |
| 84 | editor.setValue(""); |
| 85 | } else { |
| 86 | window.open('file://' + __dirname + '/index.html'); |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | function handleOpenButton() { |
| 91 | dialog.showOpenDialog({properties: ['openFile']}, function(filename) { |