Update Rouge to Version 1.8

This commit is contained in:
Rouven Weßling 2015-02-12 21:03:59 +01:00 committed by Robert Lord
parent 506095a1ed
commit 6062141cce
3 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
# the following line to use "https"
source 'http://rubygems.org'
gem "rouge", "1.7.2"
gem "rouge", "~> 1.8.0"
gem "middleman", "~>3.3.0"
@ -27,4 +27,4 @@ end
gem "rake", "~> 10.4.0"
gem 'therubyracer', :platforms => :ruby
gem 'therubyracer', :platforms => :ruby

View file

@ -104,7 +104,7 @@ GEM
ffi (>= 0.5.0)
redcarpet (3.2.2)
ref (1.0.5)
rouge (1.7.2)
rouge (1.8.0)
ruby18_source_location (0.2)
sass (3.4.9)
sprockets (2.12.3)
@ -142,7 +142,7 @@ DEPENDENCIES
middleman-syntax
rake (~> 10.4.0)
redcarpet (~> 3.2.1)
rouge (= 1.7.2)
rouge (~> 1.8.0)
ruby18_source_location
therubyracer
wdm (~> 0.1.0)

View file

@ -26,9 +26,9 @@ under the License.
$(".lang-selector a").removeClass('active');
$(".lang-selector a[data-language-name='" + language + "']").addClass('active');
for (var i=0; i < languages.length; i++) {
$(".highlight." + languages[i]).parent().hide();
$(".highlight." + languages[i]).hide();
}
$(".highlight." + language).parent().show();
$(".highlight." + language).show();
global.toc.calculateHeights();