File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'use strict' ;
22
33
4- function pct ( num ) {
5- return num . toString ( ) + "%" ;
6- }
7-
8- var Margin = /* module */ [
9- /* pct */ pct ,
10- /* auto */ "auto"
11- ] ;
12-
13- var Size = /* module */ [ /* pct */ pct ] ;
14-
154function deg ( num ) {
165 return num . toString ( ) + "deg" ;
176}
@@ -25,8 +14,5 @@ var Transform = /* module */[
2514 /* rad */ rad
2615] ;
2716
28- exports . pct = pct ;
29- exports . Margin = Margin ;
30- exports . Size = Size ;
3117exports . Transform = Transform ;
3218/* No side effect */
Original file line number Diff line number Diff line change 1- let pct = num => num-> Js . Float . toString ++ "% " ;
2-
3- module Margin = {
4- type t ;
5-
6- external pt : float => t = "% identity " ;
7- let pct : float => t = pct-> Obj . magic;
8- let auto : t = "auto" -> Obj . magic;
9- };
10-
11- module Size = {
12- type t ;
13-
14- external pt : float => t = "% identity " ;
15- let pct : float => t = pct-> Obj . magic;
16- };
17-
181module Transform = {
192 type angle ;
203
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+
4+ function pct ( num ) {
5+ return num . toString ( ) + "%" ;
6+ }
7+
8+ exports . pct = pct ;
9+ /* No side effect */
Original file line number Diff line number Diff line change 1+ type t = string ;
2+
3+ external pt : float => t = "% identity " ;
4+
5+ let pct = num => num-> Js . Float . toString ++ "% " ;
6+
7+ [@ bs . inline ]
8+ let auto = "auto" ;
Original file line number Diff line number Diff line change 1+ type t ;
2+
3+ external pt : float => t = "% identity " ;
4+
5+ let pct : float => t ;
6+
7+ [@ bs . inline "auto" ]
8+ let auto : t ;
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+
4+ function pct ( num ) {
5+ return num . toString ( ) + "%" ;
6+ }
7+
8+ exports . pct = pct ;
9+ /* No side effect */
Original file line number Diff line number Diff line change 1+ type t = string ;
2+
3+ external pt : float => t = "% identity " ;
4+
5+ let pct = num => num-> Js . Float . toString ++ "% " ;
Original file line number Diff line number Diff line change 1+ type t ;
2+
3+ external pt : float => t = "% identity " ;
4+
5+ let pct : float => t ;
You can’t perform that action at this time.
0 commit comments