Open doubleshow opened 8 years ago
It seems like image-diffusion-2.html isn't outputting correctly because despite what we return in our solution functions (or log to the console), the answer field remains blank (and the console doesn't display anything).
a fix has been pushed. please fetch again.
function loadDataThenRunSolutions(){
$.get('http://bigdatahci2015.github.io/data/twitter/nepal_local_tweets.json')
.done(function(data){
items = data
console.log('number of items loaded:', items.length)
console.log('first item', items[0])
run('#q1', solution1, items)
run('#q2', solution2, items)
run('#q3', solution3, items)
run('#q4', solution4, items)
run('#q5', solution5, items)
run('#q6', solution6, items)
})
.fail(function(err){
console.error(err)
})
}
loadDataThenRunSolutions()
Update your book3
Example: http://doubleshow.github.io/book3/week10/
Enjoy!!!