Skip to content

Commit

Permalink
Merge pull request #292 from tripit/dev
Browse files Browse the repository at this point in the history
Slate 1.2.1
@lord my fault, I seemed to have totally missed the emails sent!
  • Loading branch information
Tariq Islam committed Jul 27, 2015
2 parents b9d45b2 + ad3b276 commit adeb496
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Version 1.2

*June 20, 2014*
*June 20, 2015*

**Fixes:**

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem 'middleman-gh-pages', '~> 0.0.3'
gem 'middleman-syntax', '~> 2.0.0'
gem 'middleman-autoprefixer', '~> 2.4.4'
gem 'rouge', '~> 1.9.0'
gem 'redcarpet', '~> 3.3.1'
gem 'redcarpet', '~> 3.3.2'

gem 'rake', '~> 10.4.2'
gem 'therubyracer', '~> 0.12.1', platforms: :ruby
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ GEM
rb-fsevent (0.9.5)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
redcarpet (3.3.1)
redcarpet (3.3.2)
ref (1.0.5)
rouge (1.9.0)
sass (3.4.14)
Expand Down Expand Up @@ -135,6 +135,6 @@ DEPENDENCIES
middleman-gh-pages (~> 0.0.3)
middleman-syntax (~> 2.0.0)
rake (~> 10.4.2)
redcarpet (~> 3.3.1)
redcarpet (~> 3.3.2)
rouge (~> 1.9.0)
therubyracer (~> 0.12.1)
13 changes: 9 additions & 4 deletions source/javascripts/app/_toc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//= require ../lib/_jquery_ui
//= require ../lib/_jquery.tocify
//= require ../lib/_imagesloaded.min
(function (global) {
'use strict';

Expand Down Expand Up @@ -37,14 +38,18 @@

// Hack to make already open sections to start opened,
// instead of displaying an ugly animation
function animate () {
function animate() {
setTimeout(function() {
toc.setOption('showEffectSpeed', 180);
}, 50);
}

$(makeToc);
$(animate);

$(function() {
makeToc();
animate();
$('.content').imagesLoaded( function() {
global.toc.calculateHeights();
});
});
})(window);

7 changes: 7 additions & 0 deletions source/javascripts/lib/_imagesloaded.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit adeb496

Please sign in to comment.