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:
56b3478
)
Eagerly require protocol
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Thu, 23 Jun 2016 01:51:39 +0000
(18:51 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Thu, 23 Jun 2016 01:51:39 +0000
(18:51 -0700)
lib/browser/init.js
patch
|
blob
|
history
diff --git
a/lib/browser/init.js
b/lib/browser/init.js
index
924ad14
..
6326b8e
100644
(file)
--- a/
lib/browser/init.js
+++ b/
lib/browser/init.js
@@
-173,6
+173,9
@@
require('./chrome-extension')
// Load internal desktop-capturer module.
require('./desktop-capturer')
+// Load protocol module to ensure it is populated on app ready
+require('./api/protocol')
+
// Set main startup script of the app.
var mainStartupScript = packageJson.main || 'index.js'