From 70e9e1c43ffad15fec7bf4532c0d6d9fb65a7421 Mon Sep 17 00:00:00 2001 From: yafeilee Date: Thu, 28 Apr 2016 11:18:01 +0800 Subject: [PATCH] Rename *.js.coffee -> *.coffee --- app/assets/javascripts/admin/{posts.js.coffee => posts.coffee} | 0 app/assets/javascripts/comment.js.coffee | 3 --- ...oogle_anlytics.js.coffee.erb => google_anlytics.coffee.erb} | 0 app/assets/javascripts/{like.js.coffee => like.coffee} | 0 .../javascripts/{qrcode_op.js.coffee => qrcode_op.coffee} | 0 5 files changed, 3 deletions(-) rename app/assets/javascripts/admin/{posts.js.coffee => posts.coffee} (100%) delete mode 100644 app/assets/javascripts/comment.js.coffee rename app/assets/javascripts/{google_anlytics.js.coffee.erb => google_anlytics.coffee.erb} (100%) rename app/assets/javascripts/{like.js.coffee => like.coffee} (100%) rename app/assets/javascripts/{qrcode_op.js.coffee => qrcode_op.coffee} (100%) diff --git a/app/assets/javascripts/admin/posts.js.coffee b/app/assets/javascripts/admin/posts.coffee similarity index 100% rename from app/assets/javascripts/admin/posts.js.coffee rename to app/assets/javascripts/admin/posts.coffee diff --git a/app/assets/javascripts/comment.js.coffee b/app/assets/javascripts/comment.js.coffee deleted file mode 100644 index 1794d7c..0000000 --- a/app/assets/javascripts/comment.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -$(document).on 'turbolinks:load', -> - $('#alert-container .close-button').click ()-> - $('#alert-container').hide() diff --git a/app/assets/javascripts/google_anlytics.js.coffee.erb b/app/assets/javascripts/google_anlytics.coffee.erb similarity index 100% rename from app/assets/javascripts/google_anlytics.js.coffee.erb rename to app/assets/javascripts/google_anlytics.coffee.erb diff --git a/app/assets/javascripts/like.js.coffee b/app/assets/javascripts/like.coffee similarity index 100% rename from app/assets/javascripts/like.js.coffee rename to app/assets/javascripts/like.coffee diff --git a/app/assets/javascripts/qrcode_op.js.coffee b/app/assets/javascripts/qrcode_op.coffee similarity index 100% rename from app/assets/javascripts/qrcode_op.js.coffee rename to app/assets/javascripts/qrcode_op.coffee