Use eslint, add travis-ci

This commit is contained in:
Horcrux
2016-05-04 17:54:30 +08:00
parent be8c273adf
commit cbce096b5c
41 changed files with 93 additions and 297 deletions

View File

@@ -30,7 +30,7 @@ class UseExample extends Component{
<Use href="#shape" x="20" y="0"/>
<Use href="#shape" x="170"y="0" />
</Svg>;
};
}
}
class UseShapes extends Component{
@@ -47,7 +47,7 @@ class UseShapes extends Component{
<Use href="#shape" x="110" y="0" stroke="#0ff" fill="#8a3" rotation="45" origin="25, 25"/>
<Use href="#shape" x="150" y="50" stroke="#0f0" fill="none"/>
</Svg>;
};
}
}
const icon = <Svg
@@ -68,4 +68,4 @@ const samples = [UseExample, UseShapes];
export {
icon,
samples
}
};