projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b5cbe8
)
Use const for fs/path requires
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Thu, 4 Feb 2016 17:16:40 +0000
(09:16 -0800)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Thu, 4 Feb 2016 17:16:40 +0000
(09:16 -0800)
atom/browser/default_app/main.js
patch
|
blob
|
history
diff --git
a/atom/browser/default_app/main.js
b/atom/browser/default_app/main.js
index
895e3df
..
c24fc12
100644
(file)
--- a/
atom/browser/default_app/main.js
+++ b/
atom/browser/default_app/main.js
@@
-4,8
+4,8
@@
const dialog = electron.dialog;
const shell = electron.shell;
const Menu = electron.Menu;
-
var
fs = require('fs');
-
var
path = require('path');
+
const
fs = require('fs');
+
const
path = require('path');
// Quit when all windows are closed and no other one is listening to this.
app.on('window-all-closed', function() {