Add correct jquery
This commit is contained in:
parent
51c47b9f98
commit
4b6d11cdc8
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Hello World!</title>
|
<title>mcopy</title>
|
||||||
<link href="./css/bootstrap.min.css" rel="stylesheet">
|
<link href="./css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="./css/w2ui-1.4.3.min.css" rel="stylesheet">
|
<link href="./css/w2ui-1.4.3.min.css" rel="stylesheet">
|
||||||
<link href="./css/effeckt.css" rel="stylesheet">
|
<link href="./css/effeckt.css" rel="stylesheet">
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
<script src="./js/jquery-1.11.3.min.js"></script>
|
||||||
<script src="./js/w2ui-1.4.3.min.js"></script>
|
<script src="./js/w2ui-1.4.3.min.js"></script>
|
||||||
<script src="./js/jquery-2.2.3.min.js"></script>
|
|
||||||
<script src="./js/chroma.min.js"></script>
|
<script src="./js/chroma.min.js"></script>
|
||||||
<script src="./js/index.js"></script>
|
<script src="./js/index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
10
app/main.js
10
app/main.js
|
@ -15,9 +15,11 @@ var mainWindow;
|
||||||
var init = function () {
|
var init = function () {
|
||||||
createWindow();
|
createWindow();
|
||||||
mcopy.arduino.init(function (success) {
|
mcopy.arduino.init(function (success) {
|
||||||
mcopy.arduino.connect(function () {
|
if (success) {
|
||||||
//
|
mcopy.arduino.connect(function () {
|
||||||
});
|
//
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,7 +30,7 @@ var createMenu = function () {
|
||||||
var createWindow = function () {
|
var createWindow = function () {
|
||||||
mainWindow = new BrowserWindow({width: 800, height: 600});
|
mainWindow = new BrowserWindow({width: 800, height: 600});
|
||||||
mainWindow.loadURL('file://' + __dirname + '/index.html');
|
mainWindow.loadURL('file://' + __dirname + '/index.html');
|
||||||
mainWindow.webContents.openDevTools();
|
//mainWindow.webContents.openDevTools();
|
||||||
mainWindow.on('closed', function() {
|
mainWindow.on('closed', function() {
|
||||||
mainWindow = null;
|
mainWindow = null;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue