Add correct jquery

This commit is contained in:
Matt 2016-04-12 13:57:59 -04:00
parent 51c47b9f98
commit 4b6d11cdc8
4 changed files with 13 additions and 10 deletions

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<title>mcopy</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/w2ui-1.4.3.min.css" rel="stylesheet">
<link href="./css/effeckt.css" rel="stylesheet">
@ -16,8 +16,8 @@
</div>
</div>
</nav>
<script src="./js/jquery-1.11.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/index.js"></script>
</body>

5
app/js/jquery-1.11.3.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -15,9 +15,11 @@ var mainWindow;
var init = function () {
createWindow();
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 () {
mainWindow = new BrowserWindow({width: 800, height: 600});
mainWindow.loadURL('file://' + __dirname + '/index.html');
mainWindow.webContents.openDevTools();
//mainWindow.webContents.openDevTools();
mainWindow.on('closed', function() {
mainWindow = null;
});