From 8d278adaa24da9d0ce6fcd446653e9daab65b020 Mon Sep 17 00:00:00 2001 From: yafeilee Date: Sat, 19 May 2018 17:16:30 +0800 Subject: [PATCH] refactor js --- app/assets/javascripts/application.js | 3 +++ {app => vendor}/assets/javascripts/ddscrollspy.js | 0 {app => vendor}/assets/javascripts/jquery.atwho.js | 0 {app => vendor}/assets/javascripts/qrcode.js | 0 4 files changed, 3 insertions(+) rename {app => vendor}/assets/javascripts/ddscrollspy.js (100%) rename {app => vendor}/assets/javascripts/jquery.atwho.js (100%) rename {app => vendor}/assets/javascripts/qrcode.js (100%) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 9217973..2b30088 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -5,6 +5,9 @@ //= require foundation //= require js.cookie //= require 'jquery.html5-fileupload' +//= require jquery.atwho +//= require ddscrollspy +//= require qrcode //= require cable //= require_tree . diff --git a/app/assets/javascripts/ddscrollspy.js b/vendor/assets/javascripts/ddscrollspy.js similarity index 100% rename from app/assets/javascripts/ddscrollspy.js rename to vendor/assets/javascripts/ddscrollspy.js diff --git a/app/assets/javascripts/jquery.atwho.js b/vendor/assets/javascripts/jquery.atwho.js similarity index 100% rename from app/assets/javascripts/jquery.atwho.js rename to vendor/assets/javascripts/jquery.atwho.js diff --git a/app/assets/javascripts/qrcode.js b/vendor/assets/javascripts/qrcode.js similarity index 100% rename from app/assets/javascripts/qrcode.js rename to vendor/assets/javascripts/qrcode.js