Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ychaikin committed Apr 11, 2016
2 parents 38ffbde + 1fc9fad commit c675c1a
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Assignments/module4-solution-starter/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var menuItemsUrl =
var menuItemsTitleHtml = "snippets/menu-items-title.html";
var menuItemHtml = "snippets/menu-item.html";

// Convinience function for inserting innerHTML for 'select'
// Convenience function for inserting innerHTML for 'select'
var insertHtml = function (selector, html) {
var targetElem = document.querySelector(selector);
targetElem.innerHTML = html;
Expand Down Expand Up @@ -157,7 +157,7 @@ dc.loadMenuItems = function (categoryShort) {
};


// Builds HTML for the categiries page based on the data
// Builds HTML for the categories page based on the data
// from the server
function buildAndShowCategoriesHTML (categories) {
// Load title snippet of categories page
Expand Down
4 changes: 2 additions & 2 deletions Assignments/version2/module5-solution-starter/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var menuItemsUrl =
var menuItemsTitleHtml = "snippets/menu-items-title.html";
var menuItemHtml = "snippets/menu-item.html";

// Convinience function for inserting innerHTML for 'select'
// Convenience function for inserting innerHTML for 'select'
var insertHtml = function (selector, html) {
var targetElem = document.querySelector(selector);
targetElem.innerHTML = html;
Expand Down Expand Up @@ -157,7 +157,7 @@ dc.loadMenuItems = function (categoryShort) {
};


// Builds HTML for the categiries page based on the data
// Builds HTML for the categories page based on the data
// from the server
function buildAndShowCategoriesHTML (categories) {
// Load title snippet of categories page
Expand Down
2 changes: 1 addition & 1 deletion examples/Lecture54/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ document.addEventListener("DOMContentLoaded",
}
}

// Unobstrusive event binding
// Unobtrusive event binding
document.querySelector("button")
.addEventListener("click", sayHello);

Expand Down
2 changes: 1 addition & 1 deletion examples/Lecture55/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ document.addEventListener("DOMContentLoaded",
}
}

// Unobstrusive event binding
// Unobtrusive event binding
document.querySelector("button")
.addEventListener("click", sayHello);

Expand Down
2 changes: 1 addition & 1 deletion examples/Lecture57/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
document.addEventListener("DOMContentLoaded",
function (event) {

// Unobstrusive event binding
// Unobtrusive event binding
document.querySelector("button")
.addEventListener("click", function () {

Expand Down
2 changes: 1 addition & 1 deletion examples/Lecture58/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
document.addEventListener("DOMContentLoaded",
function (event) {

// Unobstrusive event binding
// Unobtrusive event binding
document.querySelector("button")
.addEventListener("click", function () {

Expand Down
2 changes: 1 addition & 1 deletion examples/Lecture60/after/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var dc = {};

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

// Convinience function for inserting innerHTML for 'select'
// Convenience function for inserting innerHTML for 'select'
var insertHtml = function (selector, html) {
var targetElem = document.querySelector(selector);
targetElem.innerHTML = html;
Expand Down
4 changes: 2 additions & 2 deletions examples/Lecture61/after/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var allCategoriesUrl =
var categoriesTitleHtml = "snippets/categories-title-snippet.html";
var categoryHtml = "snippets/category-snippet.html";

// Convinience function for inserting innerHTML for 'select'
// Convenience function for inserting innerHTML for 'select'
var insertHtml = function (selector, html) {
var targetElem = document.querySelector(selector);
targetElem.innerHTML = html;
Expand Down Expand Up @@ -64,7 +64,7 @@ dc.loadMenuCategories = function () {
};


// Builds HTML for the categiries page based on the data
// Builds HTML for the categories page based on the data
// from the server
function buildAndShowCategoriesHTML (categories) {
// Load title snippet of categories page
Expand Down
2 changes: 1 addition & 1 deletion examples/Lecture61/before/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var dc = {};

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

// Convinience function for inserting innerHTML for 'select'
// Convenience function for inserting innerHTML for 'select'
var insertHtml = function (selector, html) {
var targetElem = document.querySelector(selector);
targetElem.innerHTML = html;
Expand Down
4 changes: 2 additions & 2 deletions examples/Lecture62/after/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var menuItemsUrl =
var menuItemsTitleHtml = "snippets/menu-items-title.html";
var menuItemHtml = "snippets/menu-item.html";

// Convinience function for inserting innerHTML for 'select'
// Convenience function for inserting innerHTML for 'select'
var insertHtml = function (selector, html) {
var targetElem = document.querySelector(selector);
targetElem.innerHTML = html;
Expand Down Expand Up @@ -78,7 +78,7 @@ dc.loadMenuItems = function (categoryShort) {
};


// Builds HTML for the categiries page based on the data
// Builds HTML for the categories page based on the data
// from the server
function buildAndShowCategoriesHTML (categories) {
// Load title snippet of categories page
Expand Down
4 changes: 2 additions & 2 deletions examples/Lecture62/before/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var allCategoriesUrl =
var categoriesTitleHtml = "snippets/categories-title-snippet.html";
var categoryHtml = "snippets/category-snippet.html";

// Convinience function for inserting innerHTML for 'select'
// Convenience function for inserting innerHTML for 'select'
var insertHtml = function (selector, html) {
var targetElem = document.querySelector(selector);
targetElem.innerHTML = html;
Expand Down Expand Up @@ -64,7 +64,7 @@ dc.loadMenuCategories = function () {
};


// Builds HTML for the categiries page based on the data
// Builds HTML for the categories page based on the data
// from the server
function buildAndShowCategoriesHTML (categories) {
// Load title snippet of categories page
Expand Down
4 changes: 2 additions & 2 deletions examples/Lecture63/after/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var menuItemsUrl =
var menuItemsTitleHtml = "snippets/menu-items-title.html";
var menuItemHtml = "snippets/menu-item.html";

// Convinience function for inserting innerHTML for 'select'
// Convenience function for inserting innerHTML for 'select'
var insertHtml = function (selector, html) {
var targetElem = document.querySelector(selector);
targetElem.innerHTML = html;
Expand Down Expand Up @@ -93,7 +93,7 @@ dc.loadMenuItems = function (categoryShort) {
};


// Builds HTML for the categiries page based on the data
// Builds HTML for the categories page based on the data
// from the server
function buildAndShowCategoriesHTML (categories) {
// Load title snippet of categories page
Expand Down
4 changes: 2 additions & 2 deletions examples/Lecture63/before/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var menuItemsUrl =
var menuItemsTitleHtml = "snippets/menu-items-title.html";
var menuItemHtml = "snippets/menu-item.html";

// Convinience function for inserting innerHTML for 'select'
// Convenience function for inserting innerHTML for 'select'
var insertHtml = function (selector, html) {
var targetElem = document.querySelector(selector);
targetElem.innerHTML = html;
Expand Down Expand Up @@ -78,7 +78,7 @@ dc.loadMenuItems = function (categoryShort) {
};


// Builds HTML for the categiries page based on the data
// Builds HTML for the categories page based on the data
// from the server
function buildAndShowCategoriesHTML (categories) {
// Load title snippet of categories page
Expand Down

0 comments on commit c675c1a

Please sign in to comment.