From dd64b761c6ef4258212355f9ec776fc1c920daba Mon Sep 17 00:00:00 2001 From: Nihad Abbasov Date: Tue, 15 Nov 2011 12:45:15 +0400 Subject: [PATCH] move non-app assets to vendor --- app/assets/javascripts/application.js | 4 +++- app/assets/stylesheets/application.css | 1 + .../chosen.jquery.js => vendor/assets/javascripts/chosen.js | 0 .../assets/javascripts/modernizr.js | 0 {app => vendor}/assets/stylesheets/chosen.css | 0 5 files changed, 4 insertions(+), 1 deletion(-) rename app/assets/javascripts/chosen.jquery.js => vendor/assets/javascripts/chosen.js (100%) rename app/assets/javascripts/modernizr-2.0.6.min.js => vendor/assets/javascripts/modernizr.js (100%) rename {app => vendor}/assets/stylesheets/chosen.css (100%) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 1b96c142..93dbd7dd 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -10,6 +10,8 @@ //= require jquery.ui.selectmenu //= require jquery.tagify //= require jquery.cookie +//= require modernizr +//= require chosen //= require raphael //= require branch-graph //= require_tree . @@ -24,7 +26,7 @@ $(function(){ $(".account-box").mouseenter(showMenu); $(".account-box").mouseleave(resetMenu); - + }); function updatePage(data){ diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 3884575d..4387066e 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -5,6 +5,7 @@ *= require jquery-ui/jquery-ui *= require jquery-ui/jquery.ui.selectmenu *= require jquery-ui/jquery.tagify + *= require chosen *= require_self *= require_tree . */ diff --git a/app/assets/javascripts/chosen.jquery.js b/vendor/assets/javascripts/chosen.js similarity index 100% rename from app/assets/javascripts/chosen.jquery.js rename to vendor/assets/javascripts/chosen.js diff --git a/app/assets/javascripts/modernizr-2.0.6.min.js b/vendor/assets/javascripts/modernizr.js similarity index 100% rename from app/assets/javascripts/modernizr-2.0.6.min.js rename to vendor/assets/javascripts/modernizr.js diff --git a/app/assets/stylesheets/chosen.css b/vendor/assets/stylesheets/chosen.css similarity index 100% rename from app/assets/stylesheets/chosen.css rename to vendor/assets/stylesheets/chosen.css