Skip to content

Commit dfdf4d3

Browse files
File normalization regarding editorconfig
1 parent cda6e10 commit dfdf4d3

38 files changed

+62
-64
lines changed

.--eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"extends": "airbnb"
3-
}
3+
}

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
'transform-runtime',
55
["transform-react-jsx", { "pragma":"h" }]
66
]
7-
}
7+
}

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
app/build/mojs-curve-editor.js merge=ours
22
app/build/mojs-curve-editor.min.js merge=ours
3-
*.postcss.css.json merge=ours
3+
*.postcss.css.json merge=ours

app/css/blocks/code-panel.postcss.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/*height: 0;*/
1515
/*transition: height .2s ease-out;*/
1616
/*transform: scale(0); */
17-
17+
1818
&__inner {
1919
border-radius: calc( 6 * $PX ) calc( 6 * $PX ) 0 0;
2020
background: rgba( 61, 27, 60, 1 );

app/css/blocks/little-handle.postcss.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
top: 50%;
77
width: 0;
88
height: 0;
9-
10-
$size: 6;
9+
10+
$size: 6;
1111
&__point {
1212
position: absolute;
1313
z-index: 1;

app/css/blocks/point-controls.postcss.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
.point-controls {
55
display: none;
6-
6+
77
&.is-show {
88
display: block;
99
}
10-
10+
1111
[data-component="icon-button"] {
1212
$width: 3;
1313
$height: 2.5*$width;
14-
14+
1515
&:after {
1616
content: '';
1717
position: absolute;
@@ -26,10 +26,10 @@
2626
margin-top: calc( -($height/2)*$PX );
2727
display: none;
2828
}
29-
29+
3030
&[class*="is-checked"] {
3131
&:after {
32-
display: block;
32+
display: block;
3333
}
3434
}
3535
}

app/css/blocks/point.postcss.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $size: 10;
1414
z-index: 3;
1515
box-shadow: calc(3*$PX) calc(3*$PX) 0 rgba(0,0,0,.5);
1616
/*border: calc( 2*$PX ) solid $c-white;*/
17-
17+
1818
&__touch {
1919
position: absolute;
2020
left: 50%;
@@ -43,7 +43,6 @@ $size: 10;
4343
&.is-hide-handles {
4444
& [data-component="little-handle"] {
4545
display: none;
46-
}
46+
}
4747
}
4848
}
49-

app/css/blocks/resize-handle.postcss.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $radius: 16;
1313
border-top-right-radius: calc( 3*$PX );
1414
transform-origin: 50% 100%;
1515
box-shadow: inset 0 0 0 calc( 1*$PX ) $c-light-purple;
16-
16+
1717
&:after {
1818
content: '';
1919
position: absolute;
@@ -23,7 +23,7 @@ $radius: 16;
2323
bottom: 0;
2424
z-index: 2;
2525
}
26-
26+
2727
& [data-component="icon"] {
2828
position: absolute;
2929
left: 0;
@@ -43,10 +43,9 @@ $radius: 16;
4343
transform: rotate(180deg);
4444
cursor: s-resize;
4545
}
46-
46+
4747
/*position: absolute;
4848
top: calc(-16*$PX);
4949
left: 50%;
5050
margin-left: calc( -16*$PX );*/
5151
}
52-

app/css/blocks/ruler.postcss.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $size: 350;
1212
left: auto;
1313
right: 0;
1414
}
15-
15+
1616
$itemSize: 14;
1717
&__item {
1818
position: absolute;
@@ -25,10 +25,10 @@ $size: 350;
2525
height: calc($itemSize*$PX);
2626
text-align: center;
2727
line-height: calc($itemSize*$PX);
28-
28+
2929
margin-top: calc(3*$PX);
3030
margin-left: calc((-$itemSize/4)*$PX);
31-
31+
3232
&--0 {
3333
top: calc(4*$size*$PX);
3434
}

app/js/actions/points.babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ export function reset (store) {
44
store.dispatch({ type: 'POINTS_REMOVE' });
55
store.dispatch({ type: 'POINT_ADD', data: { point: {x: 0, y: C.CURVE_SIZE, isLockedX: true}, index: 0 } });
66
store.dispatch({ type: 'POINT_ADD', data: { point: {x: 100, y: 0, isLockedX: true}, index: 1 } });
7-
}
7+
}

0 commit comments

Comments
 (0)