Skip to content

Commit

Permalink
Corrected jQuery includes in src files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Garcia committed Nov 9, 2018
1 parent 376a245 commit fdb6744
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "f2f-app",
"productName": "f2f-app",
"version": "0.1.0",
"version": "0.1.1",
"description": "f2f: Face-2-Face reference application for USHIN",
"main": "src/index.js",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>ushin – univeral shared information – is a language of compassion</title>
<link rel="stylesheet" type="text/css" href="styles/normalize.css">
<link rel="stylesheet" type="text/css" href="styles/vendor/normalize.css">
<link rel="stylesheet" type="text/css" href="styles/main.css">
</head>
<body>
Expand Down Expand Up @@ -39,7 +39,8 @@ <h4>Hover over shapes to see what they mean.</h4>

</main>

<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="scripts/vendor/jquery-3.3.1.min.js"></script>
<script>window.$ = window.jQuery = require('./scripts/vendor/jquery-3.3.1.min.js');</script>
<script src="scripts/main.js"></script>

</body>
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ const createWindow = () => {
// Create the browser window.
mainWindow = new BrowserWindow({
minWidth: 800,
minHeight: 600
minHeight: 640
});

// and load the index.html of the app.
mainWindow.loadURL(`file://${__dirname}/index.html`);

// Open the DevTools.
//mainWindow.webContents.openDevTools();
// mainWindow.webContents.openDevTools();

// Emitted when the window is closed.
mainWindow.on('closed', () => {
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/vendor/jquery-3.3.1.min.js

Large diffs are not rendered by default.

File renamed without changes.

1 comment on commit fdb6744

@hiimalexjgarcia
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrects issue #2 .

Please sign in to comment.