Created
May 2, 2018 08:33
-
-
Save ratelChief/09468a752d52ce11b137e5cd27a42144 to your computer and use it in GitHub Desktop.
This file contains 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
'use strict'; | |
window.backend = (function () { | |
var URL_DOWNLOAD = 'https://js.dump.academy/code-and-magick/data'; | |
var URL_UPLOAD = 'https://js.dump.academy/code-and-magick'; | |
var xhr = new XMLHttpRequest(); | |
xhr.responseType = 'json'; | |
return { | |
load: function (onLoad, onError) { | |
}, | |
save: function (data, onLoad, onError) { | |
} | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment