An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| // Checks if the given argument is an object | |
| var isObject = function (obj) { | |
| return obj === Object(obj); | |
| }; | |
| // Extends the destination object with source object recrsively | |
| var deepExtend = function (dest, source) { | |
| var clone = {}; | |
| for (var key in source) { |
Javascript #router. Features: