Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var json = (function() {
- var json = null;
- $.ajax({
- 'async': false,
- 'global': false,
- 'url': "info.json",
- 'dataType': "json",
- 'success': function (data) {
- json = data;
- }
- });
- return json;
- })();
- console.log("json: " + json);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement