File tree Expand file tree Collapse file tree 8 files changed +57
-90
lines changed
pages/ContributingPageView Expand file tree Collapse file tree 8 files changed +57
-90
lines changed Original file line number Diff line number Diff line change 16
16
display : block ;
17
17
border : 1px #D4 D4 D4 solid ;
18
18
border-radius : 3px ;
19
- color : #3 3 3 ;
20
19
text-shadow : 0 1px 0 #f f f ;
21
20
font-size : 11px ;
22
21
font-weight : bold ;
25
24
padding : 1px 5px 0 ;
26
25
line-height : 17px ;
27
26
background : #fa fa fa linear-gradient (#fa fa fa , #ea ea ea );
27
+ & , & :visited , & :visited:hover {
28
+ color : #3 3 3 ;
29
+ }
30
+ & :hover {
31
+ background : #d d d linear-gradient (#e e e ,#d d d );
32
+ border-color : #c c c ;
33
+ }
28
34
}
29
35
}
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import dataStore from '../../../stores/dataStore' ;
3
+ import locationStore from '../../../stores/locationStore' ;
3
4
import PageView from '../../PageView' ;
5
+ import './style.styl'
4
6
5
7
export default React . createClass ( {
6
8
render ( ) {
7
9
return (
8
10
< PageView >
11
+ < div className = "contributing__links-wrap" >
12
+ See also:
13
+ < ul className = "contributing__links" >
14
+ < li >
15
+ < a href = { locationStore . renderPath ( 'jscs' , 'coverage' ) } >
16
+ JSCS Test Coverage Report
17
+ </ a >
18
+ </ li >
19
+ </ ul >
20
+ </ div >
9
21
< div className = "markdown"
10
22
dangerouslySetInnerHTML = { { __html : dataStore . getData ( ) . getContributingInfo ( ) } } >
11
23
</ div >
Original file line number Diff line number Diff line change
1
+ .contributing {
2
+ & __links-wrap {
3
+ border : 1px solid #e e e ;
4
+ background : #ff ff ff ;
5
+ float : right ;
6
+ position : relative ;
7
+ z-index : 1 ;
8
+ padding : 10px 20px ;
9
+ color : #5 5 5 ;
10
+ margin : 10px 0 10px 20px ;
11
+ font-size : 14px ;
12
+ }
13
+ & __links {
14
+ padding : 0 ;
15
+ margin : 0 ;
16
+ list-style-type : none ;
17
+ li :before {
18
+ content : '— ' ;
19
+ }
20
+ }
21
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"data" : " node app/buildData.js" ,
7
7
"test" : " jscs app" ,
8
- "publish" : " sh checkout.sh && npm run build && sh publish.sh" ,
9
- "start-dev" : " sh checkout.sh && node app/server.js" ,
10
- "build" : " rm -Rf result && mkdir result && cp -R app/resources/* result && npm run build-js && node app/buildPages " ,
8
+ "publish" : " sh tools/ checkout.sh && npm run build && sh tools/ publish.sh" ,
9
+ "start-dev" : " sh tools/ checkout.sh && node app/server.js" ,
10
+ "build" : " sh tools/ build.sh " ,
11
11
"build-js" : " webpack --config webpack-production.config.js --progress --profile --colors -p"
12
12
},
13
13
"author" : " Marat Dulin <mdevils@yandex.ru>" ,
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ rm -Rf result
4
+ mkdir result
5
+ mkdir result/jscs
6
+ cp jscs/coverage.html result/jscs
7
+ cp -R app/resources/* result
8
+
9
+ npm run build-js
10
+ node app/buildPages
Original file line number Diff line number Diff line change @@ -4,13 +4,14 @@ if [ -d jscs ]; then
4
4
cd jscs && git fetch origin;
5
5
else
6
6
git clone git@github.com:jscs-dev/node-jscs.git jscs;
7
+ cd jscs;
7
8
fi
8
- cd jscs ;
9
+
9
10
LAST_TAG_REV=` git rev-list --tags --max-count=1` ;
10
11
LAST_TAG=` git describe --tags " $LAST_TAG_REV " ` ;
11
12
git checkout " $LAST_TAG " ;
12
13
13
14
npm install
14
15
15
- # npm run browserify
16
- # cp jscs/jscs-browser.js result/assets/jscs-browser.js
16
+ npm run browserify
17
+ npm run coverage-html
File renamed without changes.
You can’t perform that action at this time.
0 commit comments