Skip to content

Commit

Permalink
Candy 调试界面弹出位置
Browse files Browse the repository at this point in the history
  • Loading branch information
wudizhanche1000 committed Nov 28, 2016
1 parent 2453769 commit 004692a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions candy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="libs.min.js"></script>
<script type="text/javascript" src="candy.min.js"></script>

</head>
<body>
<div id="candy"></div>
<script type="text/javascript">
const {remote, ipcRenderer} = require('electron');
// remote.getCurrentWebContents().openDevTools();
require('electron-cookies'); // https://github.com/hstove/electron-cookies

// remote.getCurrentWebContents().openDevTools();
ipcRenderer.on('join', (event, message) => {
Candy.Core.Action.Jabber.Room.Join(message);
Candy.View.Pane.Chat.setActiveTab(message);
Expand Down

0 comments on commit 004692a

Please sign in to comment.