[#369] small refactoring

This commit is contained in:
Alexander Machehin 2014-04-16 22:09:23 +06:00
parent dd41f41867
commit 1fa17cf789
4 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
= javascript_include_tag 'codemirror_editor'
= stylesheet_link_tag 'codemirror_editor'
= stylesheet_link_tag 'codemirror'
%h3= t("layout.projects.files_in_project")
.files

View File

@ -65,7 +65,7 @@ Rosa::Application.configure do
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile +=
%w(login.css login.js reg_session.css tour.css tour.js gollum/editor/langs/*.js moment/ru.js
codemirror_editor.js codemirror_editor.css)
codemirror_editor.js codemirror.css)
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier

View File

@ -64,7 +64,7 @@ Rosa::Application.configure do
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile +=
%w(login.css login.js reg_session.css tour.css tour.js gollum/editor/langs/*.js moment/ru.js
codemirror_editor.js codemirror_editor.css)
codemirror_editor.js codemirror.css)
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier

View File

@ -1,2 +0,0 @@
@import "codemirror";
//@import "codemirror/themes/rubyblue";