Skip to content

Commit c675c1a

Browse files
committed
2 parents 38ffbde + 1fc9fad commit c675c1a

File tree

13 files changed

+20
-20
lines changed

13 files changed

+20
-20
lines changed

Assignments/module4-solution-starter/js/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var menuItemsUrl =
2323
var menuItemsTitleHtml = "snippets/menu-items-title.html";
2424
var menuItemHtml = "snippets/menu-item.html";
2525

26-
// Convinience function for inserting innerHTML for 'select'
26+
// Convenience function for inserting innerHTML for 'select'
2727
var insertHtml = function (selector, html) {
2828
var targetElem = document.querySelector(selector);
2929
targetElem.innerHTML = html;
@@ -157,7 +157,7 @@ dc.loadMenuItems = function (categoryShort) {
157157
};
158158

159159

160-
// Builds HTML for the categiries page based on the data
160+
// Builds HTML for the categories page based on the data
161161
// from the server
162162
function buildAndShowCategoriesHTML (categories) {
163163
// Load title snippet of categories page

Assignments/version2/module5-solution-starter/js/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var menuItemsUrl =
2323
var menuItemsTitleHtml = "snippets/menu-items-title.html";
2424
var menuItemHtml = "snippets/menu-item.html";
2525

26-
// Convinience function for inserting innerHTML for 'select'
26+
// Convenience function for inserting innerHTML for 'select'
2727
var insertHtml = function (selector, html) {
2828
var targetElem = document.querySelector(selector);
2929
targetElem.innerHTML = html;
@@ -157,7 +157,7 @@ dc.loadMenuItems = function (categoryShort) {
157157
};
158158

159159

160-
// Builds HTML for the categiries page based on the data
160+
// Builds HTML for the categories page based on the data
161161
// from the server
162162
function buildAndShowCategoriesHTML (categories) {
163163
// Load title snippet of categories page

examples/Lecture54/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ document.addEventListener("DOMContentLoaded",
2424
}
2525
}
2626

27-
// Unobstrusive event binding
27+
// Unobtrusive event binding
2828
document.querySelector("button")
2929
.addEventListener("click", sayHello);
3030

examples/Lecture55/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ document.addEventListener("DOMContentLoaded",
2626
}
2727
}
2828

29-
// Unobstrusive event binding
29+
// Unobtrusive event binding
3030
document.querySelector("button")
3131
.addEventListener("click", sayHello);
3232

examples/Lecture57/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
document.addEventListener("DOMContentLoaded",
33
function (event) {
44

5-
// Unobstrusive event binding
5+
// Unobtrusive event binding
66
document.querySelector("button")
77
.addEventListener("click", function () {
88

examples/Lecture58/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
document.addEventListener("DOMContentLoaded",
33
function (event) {
44

5-
// Unobstrusive event binding
5+
// Unobtrusive event binding
66
document.querySelector("button")
77
.addEventListener("click", function () {
88

examples/Lecture60/after/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var dc = {};
1515

1616
var homeHtml = "snippets/home-snippet.html";
1717

18-
// Convinience function for inserting innerHTML for 'select'
18+
// Convenience function for inserting innerHTML for 'select'
1919
var insertHtml = function (selector, html) {
2020
var targetElem = document.querySelector(selector);
2121
targetElem.innerHTML = html;

examples/Lecture61/after/js/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var allCategoriesUrl =
1919
var categoriesTitleHtml = "snippets/categories-title-snippet.html";
2020
var categoryHtml = "snippets/category-snippet.html";
2121

22-
// Convinience function for inserting innerHTML for 'select'
22+
// Convenience function for inserting innerHTML for 'select'
2323
var insertHtml = function (selector, html) {
2424
var targetElem = document.querySelector(selector);
2525
targetElem.innerHTML = html;
@@ -64,7 +64,7 @@ dc.loadMenuCategories = function () {
6464
};
6565

6666

67-
// Builds HTML for the categiries page based on the data
67+
// Builds HTML for the categories page based on the data
6868
// from the server
6969
function buildAndShowCategoriesHTML (categories) {
7070
// Load title snippet of categories page

examples/Lecture61/before/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var dc = {};
1515

1616
var homeHtml = "snippets/home-snippet.html";
1717

18-
// Convinience function for inserting innerHTML for 'select'
18+
// Convenience function for inserting innerHTML for 'select'
1919
var insertHtml = function (selector, html) {
2020
var targetElem = document.querySelector(selector);
2121
targetElem.innerHTML = html;

examples/Lecture62/after/js/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var menuItemsUrl =
2323
var menuItemsTitleHtml = "snippets/menu-items-title.html";
2424
var menuItemHtml = "snippets/menu-item.html";
2525

26-
// Convinience function for inserting innerHTML for 'select'
26+
// Convenience function for inserting innerHTML for 'select'
2727
var insertHtml = function (selector, html) {
2828
var targetElem = document.querySelector(selector);
2929
targetElem.innerHTML = html;
@@ -78,7 +78,7 @@ dc.loadMenuItems = function (categoryShort) {
7878
};
7979

8080

81-
// Builds HTML for the categiries page based on the data
81+
// Builds HTML for the categories page based on the data
8282
// from the server
8383
function buildAndShowCategoriesHTML (categories) {
8484
// Load title snippet of categories page

0 commit comments

Comments
 (0)