diff --git a/use-markdown.js b/use-markdown.js index 51427eb..671f164 100644 --- a/use-markdown.js +++ b/use-markdown.js @@ -1,9 +1,9 @@ "use strict"; function loadMdFromUrl(url) { - $.get(url, function(date) { + $.get(url, function(data) { var converter = new showdown.Converter(); - var html = converter.makeHtml(text); + var html = converter.makeHtml(data); $("#markdown-content").html(html); });