diff --git a/promises/widget.js b/promises/widget.js index ddf78d2..5e29ddd 100644 --- a/promises/widget.js +++ b/promises/widget.js @@ -42,9 +42,9 @@ function addEmployeesToPage(unorderedList) { } getJSON('some_data.json') - .then(generateListItems) - .then(generateUnorderedList) - .then(addEmployeesToPage) - .catch(function(e) { - console.log(e): + .then(generateListItems) + .then(generateUnorderedList) + .then(addEmployeesToPage) + .catch(function(e) { + console.log(e): })