Skip to content

Instantly share code, notes, and snippets.

😻

Jonathan Hornung JohnnyTheTank

😻
  • digitalwunder.io
  • Munich / Karlsfeld
Block or report user

Report or block JohnnyTheTank

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View promise.js
function promise() {
var deferred = $.Deferred();
$.get('http://bla')
.then(function(result){
deferred.resolve(result);
})
.catch(function(error){
deferred.reject(error);
});
You can’t perform that action at this time.