Skip to content

Commit

Permalink
Merge pull request jhu-ep-coursera#52 from jhu-ep-coursera/evan-edit
Browse files Browse the repository at this point in the history
Reference the data directory relatively. Sounds good! Thanks!
  • Loading branch information
ychaikin authored Oct 9, 2016
2 parents 01562ed + f403296 commit 1cd4c4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/Lecture57/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ document.addEventListener("DOMContentLoaded",

// Call server to get the name
$ajaxUtils
.sendGetRequest("/data/name.txt",
.sendGetRequest("data/name.txt",
function (request) {
var name = request.responseText;

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 @@ -8,7 +8,7 @@ document.addEventListener("DOMContentLoaded",

// Call server to get the name
$ajaxUtils
.sendGetRequest("/data/name.json",
.sendGetRequest("data/name.json",
function (res) {
var message =
res.firstName + " " + res.lastName
Expand Down

0 comments on commit 1cd4c4f

Please sign in to comment.