From 930114be5b671cf8aab0914b146a164fa635d80a Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Sat, 9 Feb 2013 22:36:58 -0500 Subject: moved parseRSS function to index --- index.html | 12 ++++++++++++ js/bootswatch.js | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index c99a28bf..031c8ae4 100644 --- a/index.html +++ b/index.html @@ -565,6 +565,7 @@ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); diff --git a/js/bootswatch.js b/js/bootswatch.js index 07fba6bf..71eba460 100644 --- a/js/bootswatch.js +++ b/js/bootswatch.js @@ -4,18 +4,6 @@ $('a[rel=tooltip]').tooltip({ 'placement': 'bottom' }); -// recent news - -function parseRSS(url, callback) { - $.ajax({ - url: 'http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=10&callback=?&q=' + encodeURIComponent(url), - dataType: 'json', - success: function(data) { - callback(data.responseData.feed); - } - }); -} - // smooth scroll $(document).ready(function() { -- cgit v1.2.3