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:
5fb5526
)
Set process.throwDeprecation as early as possible
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Wed, 16 Dec 2015 01:02:33 +0000
(17:02 -0800)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Wed, 16 Dec 2015 01:02:33 +0000
(17:02 -0800)
spec/static/main.js
patch
|
blob
|
history
diff --git
a/spec/static/main.js
b/spec/static/main.js
index
35ae544
..
b295ba1
100644
(file)
--- a/
spec/static/main.js
+++ b/
spec/static/main.js
@@
-1,12
+1,12
@@
+// Disable use of deprecated functions.
+process.throwDeprecation = true;
+
const electron = require('electron');
const app = electron.app;
const ipcMain = electron.ipcMain;
const dialog = electron.dialog;
const BrowserWindow = electron.BrowserWindow;
-// Disable use of deprecated functions.
-process.throwDeprecation = true;
-
const path = require('path');
const url = require('url');