Skip to content

Instantly share code, notes, and snippets.

Created Dec 8, 2016
What would you like to do?
// ダミー実行
$.ajax = function(data) {
var name = $("#name").val();
var deffered = h5.async.deferred();
var p = deffered.promise();
p.dataTypes = ["text", "json"];
setTimeout(function() {
message: name+"さん、こんにちは"
}, 1000);
return p;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment