@@ -12,39 +12,44 @@ <h1>NProgress<i>.js</i></h1>
1212 < p > Small, nanoscopic progress bar. Featuring realistic trickle animations to convince your users that something is happening!</ p >
1313 </ header >
1414
15- < div class ='controls fade out '>
16- < p >
17- < button class ='button play ' id ='b-0 '> </ button >
18- < i > NProgress</ i > < b > .start()</ b >
19- —
20- shows the progress bar
21- </ p >
22- < p >
23- < button class ='button play ' id ='b-40 '> </ button >
24- < i > NProgress</ i > < b > .set(0.4)</ b >
25- —
26- sets a percentage
27- </ p >
28- < p >
29- < button class ='button play ' id ='b-inc '> </ button >
30- < i > NProgress</ i > < b > .inc()</ b >
31- —
32- increments by a little
33- </ p >
34- < p >
35- < button class ='button play ' id ='b-100 '> </ button >
36- < i > NProgress</ i > < b > .done()</ b >
37- —
38- completes the progress
39- </ p >
15+ < div class ='contents fade out '>
16+ < div class ='controls '>
17+ < p >
18+ < button class ='button play ' id ='b-0 '> </ button >
19+ < i > NProgress</ i > < b > .start()</ b >
20+ —
21+ shows the progress bar
22+ </ p >
23+ < p >
24+ < button class ='button play ' id ='b-40 '> </ button >
25+ < i > NProgress</ i > < b > .set(0.4)</ b >
26+ —
27+ sets a percentage
28+ </ p >
29+ < p >
30+ < button class ='button play ' id ='b-inc '> </ button >
31+ < i > NProgress</ i > < b > .inc()</ b >
32+ —
33+ increments by a little
34+ </ p >
35+ < p >
36+ < button class ='button play ' id ='b-100 '> </ button >
37+ < i > NProgress</ i > < b > .done()</ b >
38+ —
39+ completes the progress
40+ </ p >
41+ </ div >
42+ < div class ='actions '>
43+ < a href ='https://github.com/rstacruz/nprogress ' class ='button primary '> Download</ a >
44+ </ div >
4045 </ div >
4146
4247 < script src ='vendor/jquery-1.10.js '> </ script >
4348 < script src ='nprogress.js '> </ script >
4449
4550 < script >
4651 NProgress . start ( ) ;
47- setTimeout ( function ( ) { NProgress . done ( ) ; $ ( '.controls ' ) . removeClass ( 'out' ) ; } , 1000 ) ;
52+ setTimeout ( function ( ) { NProgress . done ( ) ; $ ( '.fade ' ) . removeClass ( 'out' ) ; } , 1000 ) ;
4853
4954 $ ( "#b-0" ) . click ( function ( ) { NProgress . start ( ) ; } ) ;
5055 $ ( "#b-40" ) . click ( function ( ) { NProgress . set ( 0.4 ) ; } ) ;
0 commit comments