Commit 1a99246c authored by Ole Laursen's avatar Ole Laursen

Change "method" to "type" in AJAX example, method doesn't exist in

jQuery (reported by Martin Pala)
parent 93c7c941
......@@ -87,7 +87,7 @@ $(function () {
$.ajax({
url: dataurl,
method: 'GET',
type: 'GET',
dataType: 'json',
success: onDataReceived
});
......@@ -121,7 +121,7 @@ $(function () {
// have static example files so we need to modify the
// URL
url: "data-eu-gdp-growth-" + iteration + ".json",
method: 'GET',
type: 'GET',
dataType: 'json',
success: onDataReceived
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment