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 35ae544dcdd487c982271e6d4fd9dab6e1de9fc3..b295ba185525ec83a39dc5705207ba6f3ae3537d 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');