Fix small typo.
This commit is contained in:
parent
9a2355497d
commit
32cd367a1e
|
@ -1,9 +1,9 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function loadMdFromUrl(url) {
|
function loadMdFromUrl(url) {
|
||||||
$.get(url, function(date) {
|
$.get(url, function(data) {
|
||||||
var converter = new showdown.Converter();
|
var converter = new showdown.Converter();
|
||||||
var html = converter.makeHtml(text);
|
var html = converter.makeHtml(data);
|
||||||
$("#markdown-content").html(html);
|
$("#markdown-content").html(html);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue