rocket_docs 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce3ab38f9119caae39146ade5325747199de221a
|
4
|
+
data.tar.gz: bae834461f9a46f891c68c3a5eeac6fbbe8696c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40812c65063748683033e9f9831c62dc51f8d9eed94708821d25562ee57113ac8870c558b05864b30b78ab6366b5ebb4537b58074ec5c9c29bc5bf864509e0bc
|
7
|
+
data.tar.gz: f09dc45a5346e29e701cc414c22c60502f82adefe13727d8460145e2e0244367c973bb78394d2119e63451d5090c5bc1f5e9221ce6702d9833838e0fae90cec8
|
@@ -3,6 +3,11 @@
|
|
3
3
|
//= require bootstrap
|
4
4
|
|
5
5
|
$(document).ready(function () {
|
6
|
+
|
7
|
+
///////////////////
|
8
|
+
// Try out modal //
|
9
|
+
///////////////////
|
10
|
+
|
6
11
|
$('#try-out-modal').on('show.bs.modal', function (event) {
|
7
12
|
var $modal = $(this);
|
8
13
|
var $triggerButton = $(event.relatedTarget);
|
@@ -203,4 +208,17 @@ $(document).ready(function () {
|
|
203
208
|
}
|
204
209
|
return content;
|
205
210
|
}
|
211
|
+
|
212
|
+
///////////////////////////
|
213
|
+
// URL Accordion Anchors //
|
214
|
+
///////////////////////////
|
215
|
+
|
216
|
+
if(window.location.hash !== '') {
|
217
|
+
var $element = $(window.location.hash);
|
218
|
+
$("#accordion .in").removeClass("in");
|
219
|
+
var $parents = $element.parents('.panel-collapse');
|
220
|
+
$parents.addClass('in');
|
221
|
+
$element.addClass('in');
|
222
|
+
$('html,body').animate({scrollTop: $element.offset().top}, 'fast');
|
223
|
+
}
|
206
224
|
});
|
data/lib/rocket_docs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocket_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stanko Krtalić Rusendić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|