Skip to content

Commit 133043e

Browse files
authored
Update getJson_to_ext_var.js
Added comments
1 parent 1b329a1 commit 133043e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

getJson_to_ext_var.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
/**
2+
* Get the values from a URL using Ajax and return them to an external variable for further processing.
3+
*/
4+
15
var json = (function () {
26
var json = null;
37
$.ajax({
48
'async': false,
59
'global': false,
6-
'url': mapas[j],
10+
'url': $the_url,
711
'dataType': "json",
812
'success': function (data) {
913
json = data;

0 commit comments

Comments
 (0)