update files

This commit is contained in:
nuintun
2015-11-26 15:16:32 +08:00
parent 0f6cc6bd35
commit a78ff09309
6 changed files with 171 additions and 6 deletions

View File

@@ -54,6 +54,9 @@ window.addEventListener('DOMContentLoaded', function (){
ipc.on('app-configure', function (event, command, configure){
switch (command) {
case 'ready':
ipc.send('app-configure', 'read');
break;
case 'refresh':
if (app) {
app.activeIndex = 0;
@@ -69,5 +72,5 @@ window.addEventListener('DOMContentLoaded', function (){
}
});
ipc.send('app-configure', 'refresh');
ipc.send('app-configure', 'ready');
}, false);

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
</body>
</html>

View File

@@ -0,0 +1,7 @@
/**
* Created by nuintun on 2015/11/26.
*/
'use strict';