From 69379ab044fd4b06f36ebade76ed41b5f4f2a67c Mon Sep 17 00:00:00 2001 From: B Mathis Date: Fri, 6 Nov 2009 15:27:28 -0600 Subject: [PATCH] refactored twitter javascript added fuzzy time --- source/_layouts/default.haml | 7 +- source/javascripts/jsonp.js | 3 - source/javascripts/mootools-1.2.4.2-more.js | 100 ++++++++++++++++++++ source/javascripts/twitter.js | 100 ++++++++++++++++++-- source/javascripts/twitter_gitter.js | 57 ----------- stylesheets/_theme.sass | 1 + stylesheets/library/_typography.sass | 9 +- stylesheets/partials/_twitter.sass | 12 ++- 8 files changed, 210 insertions(+), 79 deletions(-) delete mode 100644 source/javascripts/jsonp.js create mode 100644 source/javascripts/mootools-1.2.4.2-more.js delete mode 100644 source/javascripts/twitter_gitter.js diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml index ed6415f..01d63f2 100644 --- a/source/_layouts/default.haml +++ b/source/_layouts/default.haml @@ -16,8 +16,7 @@ disqus_short_name: designenthusiast %link(href="/stylesheets/screen.css" rel="stylesheet" media="screen projection" type="text/css") %link(href="/atom.xml" rel="alternate" title="#{page.blog_title}" type="application/atom+xml") %script(src="/javascripts/mootools-yui-compressed.js" type="text/javascript") - %script(src="/javascripts/jsonp.js" type="text/javascript") - %script(src="/javascripts/twitter_gitter.js" type="text/javascript") + %script(src="/javascripts/mootools-1.2.4.2-more.js" type="text/javascript") %script(src="/javascripts/twitter.js" type="text/javascript") %script(src="http://www.google-analytics.com/ga.js" type="text/javascript") %body @@ -66,7 +65,7 @@ disqus_short_name: designenthusiast %span.credit Powered by Octopress //Disqus Commens code :javascript - (function() { + /*(function() { var links = document.getElementsByTagName('a'); var query = '?'; for(var i = 0; i < links.length; i++) { @@ -75,7 +74,7 @@ disqus_short_name: designenthusiast } } document.write('