Created
September 15, 2016 13:19
-
-
Save lmatteis/bd08a9deee89349c8f88a24ffd22c0c2 to your computer and use it in GitHub Desktop.
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
overviewAction(self.parameters) | |
.then(function (response) { | |
console.log('overview: ', response) | |
self.overviewData = response.value[0]; | |
return topMentionsHashtagsAction(self.parameters) | |
}) | |
.then(function (response) { | |
console.log('top: ', response.value) | |
self.topHashtags = response.value.hashtags.slice(1, 3) | |
self.topMentions = response.value.mentions.slice(1, 3) | |
return sentimentAction(self.widget.charts[1].parameters) | |
}) | |
.then(function (response) { | |
//self.updateChartAfterCall(response.value); | |
console.log('sentiment: ', response.value) | |
return genderAction(self.widget.charts[2].parameters) | |
}) | |
.then(function (response) { | |
//self.updateChartAfterCall(response.value); | |
console.log('gender: ', response.value) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment