Skip to content

Commit aecc30c

Browse files
committed
[Documentation] Final cleanup for the stable 0.2.0 release.
1 parent 8a9f1ad commit aecc30c

File tree

14 files changed

+181
-106
lines changed

14 files changed

+181
-106
lines changed

docs/assets/scripts/enscroll-0.4.0.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/scripts/jquery.localScroll.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
duration:1000, // How long to animate.
3838
axis:'y', // Which of top and left should be modified.
3939
event:'click', // On which event to react.
40-
stop:true, // Avoid queuing animations
40+
stop:true, // Avoid queuing animations
4141
target: window, // What to scroll (selector or element). The whole window by default.
4242
reset: true // Used by $.localScroll.hash. If true, elements' scroll is resetted before actual scrolling
4343
/*
@@ -53,7 +53,7 @@
5353
if( location.hash ){
5454
settings = $.extend( {}, $localScroll.defaults, settings );
5555
settings.hash = false; // can't be true
56-
56+
5757
if( settings.reset ){
5858
var d = settings.duration;
5959
delete settings.duration;
@@ -68,7 +68,7 @@
6868
settings = $.extend( {}, $localScroll.defaults, settings );
6969

7070
return settings.lazy ?
71-
// use event delegation, more links can be added later.
71+
// use event delegation, more links can be added later.
7272
this.bind( settings.event, function( e ){
7373
// Could use closest(), but that would leave out jQuery -1.3.x
7474
var a = $([e.target, e.target.parentNode]).filter(filter)[0];
@@ -101,7 +101,7 @@
101101
var $target = $( settings.target );
102102

103103
if( settings.lock && $target.is(':animated') ||
104-
settings.onBefore && settings.onBefore(e, elem, $target) === false )
104+
settings.onBefore && settings.onBefore(e, elem, $target) === false )
105105
return;
106106

107107
if( settings.stop )
@@ -121,10 +121,10 @@
121121
$a.remove();
122122
elem[attr] = id;
123123
}
124-
124+
125125
$target
126126
.scrollTo( elem, settings ) // do scroll
127127
.trigger('notify.serialScroll',[elem]); // notify serialScroll about this change
128128
};
129129

130-
})( jQuery );
130+
})( jQuery );

docs/assets/scripts/toc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $.fn.toc = function(options) {
6161
var a = $('<a/>')
6262
.text(opts.headerText(i, heading, $h))
6363
.attr('href', '#' + opts.anchorName(i, heading, opts.prefix))
64-
.bind('click', function(e) {
64+
.bind('click', function(e) {
6565
scrollTo(e);
6666
el.trigger('selected', $(this).attr('href'));
6767
});

docs/assets/styles/jsdoc.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,44 @@ body {
161161
.span3 > .well {
162162
padding-bottom: 0px;
163163
}
164+
165+
#toc-wrap {
166+
position: fixed;
167+
width: 21.404%;
168+
padding-right: 10px;
169+
top: 60px;
170+
/* max-height: 90%; */
171+
bottom: 200px;
172+
overflow: auto;
173+
}
174+
175+
.track3 {
176+
width: 10px;
177+
background: rgba(0, 0, 0, 0);
178+
margin-right: 2px;
179+
border-radius: 10px;
180+
-webkit-transition: background 250ms linear;
181+
transition: background 250ms linear;
182+
}
183+
184+
.track3:hover,
185+
.track3.dragging {
186+
background: #d9d9d9; /* Browsers without rgba support */
187+
background: rgba(0, 0, 0, 0.15);
188+
}
189+
190+
.handle3 {
191+
width: 7px;
192+
right: 0;
193+
background: #999;
194+
background: rgba(0, 0, 0, 0.4);
195+
border-radius: 7px;
196+
-webkit-transition: width 250ms;
197+
transition: width 250ms;
198+
}
199+
200+
.track3:hover .handle3,
201+
.track3.dragging .handle3 {
202+
width: 10px;
203+
}
204+

docs/assets/tmpl/container.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<?js if (i === 0){ ?>
88
<!-- <span class="page-title"><?js= title ?></span> -->
99
<?js } ?>
10-
<div style="top: -14px; position: relative;">
10+
<div>
1111
<?js= self.partial('mainpage.tmpl', doc) ?>
1212
</div>
1313

0 commit comments

Comments
 (0)