Created
November 28, 2009 02:07
-
-
Save blissdev/244336 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get: function(uri, vars) { | |
var payload; | |
$.getJSON(uri, vars, function(data) { | |
console.log(["data", data]); | |
payload = data; | |
}); | |
console.log(["payload", payload]); | |
return payload; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment