diff --git a/Gemfile b/Gemfile index 8f2797a..71a082a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,6 @@ source 'https://rubygems.org' ruby '3.0.5' -gem 'coffee-script' gem 'github-pages' gem 'pathutil', github: 'https://github.com/envygeeks/pathutil/pull/5' gem 'webrick' diff --git a/Gemfile.lock b/Gemfile.lock index ebfe75d..f59389a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,7 +10,7 @@ GIT GIT remote: https://github.com/envygeeks/pathutil.git revision: 3451a10c362fc867b20c7e471a551b31c40a0246 - branch: refs/pull/5/head + ref: refs/pull/5/head specs: pathutil (0.16.2) forwardable-extended (~> 2.6) @@ -298,7 +298,6 @@ PLATFORMS ruby DEPENDENCIES - coffee-script github-pages pathutil! puma (~> 4.3) diff --git a/Rakefile b/Rakefile index 4731383..4f67d25 100644 --- a/Rakefile +++ b/Rakefile @@ -3,7 +3,6 @@ task :default do pids = [ spawn("bundle exec jekyll serve --watch"), spawn("bundle exec scss --quiet --watch stylesheets/scss:stylesheets"), - spawn("coffee -b -w -o javascripts -c javascripts/*.coffee") ] trap "INT" do diff --git a/javascripts/application.coffee b/javascripts/application.coffee deleted file mode 100644 index ee16663..0000000 --- a/javascripts/application.coffee +++ /dev/null @@ -1,13 +0,0 @@ -$ -> - $('code').addClass('prettyprint') - prettyPrint() - - if $('body').height() < $(window).height() - $('body > footer').addClass('stickbottom') - - hashes = {} - $('img[data-author-email]').each -> - email = $(this).data("author-email") - if email != "" - hashes[email] ||= $.md5(email) - $(this).attr("src", "https://secure.gravatar.com/avatar/#{hashes[email]}") diff --git a/javascripts/application.js b/javascripts/application.js index 8c275ab..704a5d0 100644 --- a/javascripts/application.js +++ b/javascripts/application.js @@ -1,4 +1,3 @@ -// Generated by CoffeeScript 1.6.3 $(function() { var hashes; $('code').addClass('prettyprint');