From 20aa97007ec80e720be9966214caa667738cd05f Mon Sep 17 00:00:00 2001 From: Jordan Han Date: Mon, 13 May 2019 11:41:42 +0800 Subject: [PATCH] added coffeescript --- Gemfile | 2 ++ Gemfile.lock | 5 +++++ _assets/javascript/sequencer.coffee | 1 + _posts/sketches/2019-05-13-sequencer.markdown | 2 ++ 4 files changed, 10 insertions(+) create mode 100644 _assets/javascript/sequencer.coffee diff --git a/Gemfile b/Gemfile index bcbbbe2..3fa4cc3 100644 --- a/Gemfile +++ b/Gemfile @@ -33,3 +33,5 @@ gem "autoprefixer-rails", "~> 9.5" gem "image_optim", "~> 0.26.3" gem "image_optim_pack", "~> 0.5.2" + +gem "coffee-script", "~> 2.4" diff --git a/Gemfile.lock b/Gemfile.lock index 1461b85..b62ee71 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,6 +10,10 @@ GEM public_suffix (>= 2.0.2, < 4.0) autoprefixer-rails (9.5.1.1) execjs + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.12.2) colorator (1.1.0) concurrent-ruby (1.1.5) em-websocket (0.5.1) @@ -112,6 +116,7 @@ PLATFORMS DEPENDENCIES autoprefixer-rails (~> 9.5) + coffee-script (~> 2.4) image_optim (~> 0.26.3) image_optim_pack (~> 0.5.2) jekyll (~> 3.8.5) diff --git a/_assets/javascript/sequencer.coffee b/_assets/javascript/sequencer.coffee new file mode 100644 index 0000000..d5c7ee0 --- /dev/null +++ b/_assets/javascript/sequencer.coffee @@ -0,0 +1 @@ +console.log "hello world" \ No newline at end of file diff --git a/_posts/sketches/2019-05-13-sequencer.markdown b/_posts/sketches/2019-05-13-sequencer.markdown index dcbd067..885464e 100644 --- a/_posts/sketches/2019-05-13-sequencer.markdown +++ b/_posts/sketches/2019-05-13-sequencer.markdown @@ -5,6 +5,8 @@ date: 2019-05-12 09:16 +0800 categories: toys --- {% asset sequencer.css %} +{% asset sequencer.coffee %} +