cleanup3
This commit is contained in:
1
Gemfile
1
Gemfile
@ -28,6 +28,7 @@ gem 'rubytree'
|
|||||||
gem 'sass-rails', '~> 4.0.3'
|
gem 'sass-rails', '~> 4.0.3'
|
||||||
gem 'sdoc', '~> 0.4.0', group: :doc
|
gem 'sdoc', '~> 0.4.0', group: :doc
|
||||||
gem 'slim'
|
gem 'slim'
|
||||||
|
gem 'bootstrap_pagedown'
|
||||||
gem 'pagedown-rails', '~> 1.1.4'
|
gem 'pagedown-rails', '~> 1.1.4'
|
||||||
gem 'sorcery'
|
gem 'sorcery'
|
||||||
gem 'thread_safe'
|
gem 'thread_safe'
|
||||||
|
@ -48,6 +48,8 @@ GEM
|
|||||||
debug_inspector (>= 0.0.1)
|
debug_inspector (>= 0.0.1)
|
||||||
bootstrap-will_paginate (0.0.10)
|
bootstrap-will_paginate (0.0.10)
|
||||||
will_paginate
|
will_paginate
|
||||||
|
bootstrap_pagedown (1.1.0)
|
||||||
|
rails (>= 3.2)
|
||||||
builder (3.2.2)
|
builder (3.2.2)
|
||||||
byebug (8.2.2)
|
byebug (8.2.2)
|
||||||
capistrano (3.3.5)
|
capistrano (3.3.5)
|
||||||
@ -357,6 +359,7 @@ DEPENDENCIES
|
|||||||
better_errors
|
better_errors
|
||||||
binding_of_caller
|
binding_of_caller
|
||||||
bootstrap-will_paginate
|
bootstrap-will_paginate
|
||||||
|
bootstrap_pagedown
|
||||||
byebug
|
byebug
|
||||||
capistrano (~> 3.3.0)
|
capistrano (~> 3.3.0)
|
||||||
capistrano-rails
|
capistrano-rails
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
//= require jquery
|
//= require jquery
|
||||||
//
|
//
|
||||||
//= require ace/ace
|
//= require ace/ace
|
||||||
|
//= require bootstrap_pagedown
|
||||||
//= require chosen.jquery.min
|
//= require chosen.jquery.min
|
||||||
//= require d3
|
//= require d3
|
||||||
//= require jquery.turbolinks
|
//= require jquery.turbolinks
|
||||||
|
@ -157,8 +157,8 @@ $(function() {
|
|||||||
} else if ($('.edit_exercise, .new_exercise').isPresent()) {
|
} else if ($('.edit_exercise, .new_exercise').isPresent()) {
|
||||||
execution_environments = $('form').data('execution-environments');
|
execution_environments = $('form').data('execution-environments');
|
||||||
file_types = $('form').data('file-types');
|
file_types = $('form').data('file-types');
|
||||||
// new MarkdownEditor('#exercise_instructions');
|
// new MarkdownEditor('#exercise_instructions');
|
||||||
//new MarkdownEditor('#exercise_description');
|
// new MarkdownEditor('#exercise_description')
|
||||||
// todo: add an ace editor for each file
|
// todo: add an ace editor for each file
|
||||||
new PagedownEditor('#exercise_description');
|
new PagedownEditor('#exercise_description');
|
||||||
|
|
||||||
|
@ -14,5 +14,6 @@
|
|||||||
*= require_tree ../../../lib
|
*= require_tree ../../../lib
|
||||||
*= require_tree ../../../vendor/assets/stylesheets/
|
*= require_tree ../../../vendor/assets/stylesheets/
|
||||||
*= require_self
|
*= require_self
|
||||||
|
*= require bootstrap_pagedown
|
||||||
*= require markdown
|
*= require markdown
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user