Skip to content

Commit 829d21f

Browse files
committed
Corrected spelling.
1 parent d1426e8 commit 829d21f

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

complete/client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ importCsvFile(dataFilePath) // Load the example data from the CSV file.
4242
}, 1000);
4343
})
4444
.catch(err => {
45-
console.error("An error occured.");
45+
console.error("An error occurred.");
4646
console.error(err);
4747
});

complete/server/web-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function startWebServer (db) { // Helper function to start our web server to hos
3333
res.json(data); // Send the data to the web app.
3434
})
3535
.catch(err => {
36-
console.error("An error occured.");
36+
console.error("An error occurred.");
3737
console.error(err);
3838

3939
res.sendStatus(500); // Tell the web app that something went wrong.

listing-12.1/client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ importCsvFile(dataFilePath) // Load the example data from the CSV file.
3535
}, 1000);
3636
})
3737
.catch(err => {
38-
console.error("An error occured.");
38+
console.error("An error occurred.");
3939
console.error(err);
4040
});
4141

listing-12.2/client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ importCsvFile(dataFilePath) // Load the example data from the CSV file.
4242
}, 1000);
4343
})
4444
.catch(err => {
45-
console.error("An error occured.");
45+
console.error("An error occurred.");
4646
console.error(err);
4747
});

listing-12.3/client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ importCsvFile(dataFilePath) // Load the example data from the CSV file.
4242
}, 1000);
4343
})
4444
.catch(err => {
45-
console.error("An error occured.");
45+
console.error("An error occurred.");
4646
console.error(err);
4747
});

listing-12.4/client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ importCsvFile(dataFilePath) // Load the example data from the CSV file.
4242
}, 1000);
4343
})
4444
.catch(err => {
45-
console.error("An error occured.");
45+
console.error("An error occurred.");
4646
console.error(err);
4747
});

listing-12.5/client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ importCsvFile(dataFilePath) // Load the example data from the CSV file.
4242
}, 1000);
4343
})
4444
.catch(err => {
45-
console.error("An error occured.");
45+
console.error("An error occurred.");
4646
console.error(err);
4747
});

listing-12.6/client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ importCsvFile(dataFilePath) // Load the example data from the CSV file.
4242
}, 1000);
4343
})
4444
.catch(err => {
45-
console.error("An error occured.");
45+
console.error("An error occurred.");
4646
console.error(err);
4747
});

listing-12.7/client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ importCsvFile(dataFilePath) // Load the example data from the CSV file.
4242
}, 1000);
4343
})
4444
.catch(err => {
45-
console.error("An error occured.");
45+
console.error("An error occurred.");
4646
console.error(err);
4747
});

listing-12.7/server/web-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function startWebServer (db) { // Helper function to start our web server to hos
3333
res.json(data); // Send the data to the web app.
3434
})
3535
.catch(err => {
36-
console.error("An error occured.");
36+
console.error("An error occurred.");
3737
console.error(err);
3838

3939
res.sendStatus(500); // Tell the web app that something went wrong.

0 commit comments

Comments
 (0)