I hereby claim:
- I am raphaklaus on github.
- I am raphaklaus (https://keybase.io/raphaklaus) on keybase.
- I have a public key ASA6tJFV5pxLcHq4v1k1w9RZwTx_8rE2fUnz4nAK2kjJdwo
To claim this, I am signing this object:
getAccess(function() { | |
getUsers(function() { | |
createProduct({name: 'Mesa'}, function() { | |
deleteTemporaryUser(function() { | |
console.log('Finalmente terminou!'); | |
}); | |
}); | |
}); | |
}); |
function numeroPar(numero) { | |
return new Promise(function(resolve, reject) { | |
setTimeout(function() { | |
if (numero % 2 === 0) | |
resolve(); | |
else | |
reject(new Error('Não é um número par'); | |
}, 2000); | |
}); | |
} |
// localhost/numeroPar&numero=2 | |
function getNumeroPar(res, req, next) { | |
numerpPar(req.params.numero).then(function(){ | |
res.send('É par!'); | |
}) | |
.catch(function(){ | |
res.send('É ímpar!'); | |
}); | |
} |
TelegramBot.prototype.onTextReply = function (regexp, userId, callback) { | |
this.textRegexpCallbacks.push({regexp: regexp, userId: userId, | |
type: 'reply', callback: callback}); | |
}; | |
TelegramBot.prototype._processUpdate = function (update) { | |
debug('Process Update %j', update); | |
var message = update.message; | |
var inline_query = update.inline_query; | |
var chosen_inline_result = update.chosen_inline_result; |
// wp-content/plugins/woo-coupon-box/js/wcb.js | |
// Replace in these functions: init_button() and widget_button() the popup_show() function which doesn't exist as follow: | |
function init_button() { | |
// ... | |
jQuery('.wcb-coupon-box').html(content); | |
jQuery('.wcb-widget-newsletter').html('<p class="vi-ps-sucesss"><i class="fa fa-check-square"></i>Thank you for subscribe</p>'); | |
popup_hide(); | |
} else { |
I hereby claim:
To claim this, I am signing this object: