Last active
December 5, 2017 21:45
-
-
Save rmoskal/3d69ac4a1991868130eaba0e7624ff76 to your computer and use it in GitHub Desktop.
async_harmful_s2
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
function functionalWay2(color) { | |
fetch(color) | |
.then(JSON.parse) | |
.then(transformFirst) | |
.then(sendToClient) | |
.then(sendResults => remotelog('log',sendResults)) | |
.catch(err => remotelog('error', err)) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment