[#369] small refactoring
This commit is contained in:
parent
dd41f41867
commit
1fa17cf789
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
@import "codemirror";
|
||||
//@import "codemirror/themes/rubyblue";
|
Loading…
Reference in New Issue