Created
May 9, 2020 18:56
-
-
Save alissoncs/5e1d48a1133a954a2391132fd3ef0bfc to your computer and use it in GitHub Desktop.
http.js
This file contains hidden or 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
var http = { | |
Connection: function (url, data, success, err) { | |
setTimeout(function () { | |
success(); | |
}, 3000); // fake request time | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment