Add this: var Github = function(options, httpxhr) { var API_URL = options.apiUrl || 'https://api.github.com'; ``` xhr = httpxhr || new XMLHttpRequest(); ``` than we don't need to implement light wrappers around all the httprequest callbacks.
Add this:
var Github = function(options, httpxhr) {
var API_URL = options.apiUrl || 'https://api.github.com';
than we don't need to implement light wrappers around all the httprequest callbacks.