mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-26 20:51:22 +01:00
Merge branch 'gh-pages'
Conflicts: js/scripts.js js/scripts.min.js
This commit is contained in:
commit
3b54666bcb
2 changed files with 10 additions and 1 deletions
|
@ -249,9 +249,14 @@
|
|||
});
|
||||
|
||||
if (typeof twitterFeedUrl !== 'undefined') {
|
||||
<<<<<<< HEAD
|
||||
var yql = 'http://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select * from json where url="' + twitterFeedUrl + '"') + '&format=json&callback=?';
|
||||
$.getJSON(yql, function(data) {
|
||||
$.each(data.query.results.json.json, function(i, gist) {
|
||||
=======
|
||||
$.getJSON(twitterFeedUrl, function(data) {
|
||||
$.each(data, function(i, gist) {
|
||||
>>>>>>> gh-pages
|
||||
var tweetElement = '<div class="tweet animated fadeInUp hidden"><p class="tweet-text">' + linkify(gist.text) + '</p><p class="tweet-meta">by <a href="https://twitter.com/' + gist.user.screen_name + '" target="_blank">@' + gist.user.screen_name + '</a></p></div>';
|
||||
$('#tweets').append(tweetElement);
|
||||
});
|
||||
|
|
6
js/scripts.min.js
vendored
6
js/scripts.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue