Skip to content

Commit 2b2df10

Browse files
committedMar 25, 2021
🎨 refactor: Use flat export style.
1 parent a4ac8e7 commit 2b2df10

File tree

14 files changed

+69
-82
lines changed

14 files changed

+69
-82
lines changed
 

‎src/arithmetic/constants/index.js

-10
This file was deleted.

‎src/arithmetic/index.js

-21
This file was deleted.

‎src/arithmetic/special/index.js

-1
This file was deleted.

‎src/compare/index.js

-2
This file was deleted.

‎src/constants/index.js

-5
This file was deleted.

‎src/exponential/constants/index.js

-2
This file was deleted.

‎src/exponential/index.js

-4
This file was deleted.

‎src/index.js

+69-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,69 @@
1-
export * from './arithmetic/index.js';
2-
export * from './compare/index.js';
3-
export * from './constants/index.js';
4-
export * from './exponential/index.js';
5-
export * from './io/index.js';
6-
export * from './logarithmic/index.js';
7-
export * from './memory/index.js';
8-
export * from './predicate/index.js';
9-
export * from './trigonometry/index.js';
1+
export {add1} from './arithmetic/constants/add1.js';
2+
export {div2} from './arithmetic/constants/div2.js';
3+
export {iadd1} from './arithmetic/constants/iadd1.js';
4+
export {idiv2} from './arithmetic/constants/idiv2.js';
5+
export {imul2} from './arithmetic/constants/imul2.js';
6+
export {imul5} from './arithmetic/constants/imul5.js';
7+
export {isub1} from './arithmetic/constants/isub1.js';
8+
export {mul2} from './arithmetic/constants/mul2.js';
9+
export {mul5} from './arithmetic/constants/mul5.js';
10+
export {sub1} from './arithmetic/constants/sub1.js';
11+
export {div2n} from './arithmetic/special/div2n.js';
12+
export {add} from './arithmetic/add.js';
13+
export {div} from './arithmetic/div.js';
14+
export {divmod} from './arithmetic/divmod.js';
15+
export {iadd} from './arithmetic/iadd.js';
16+
export {idiv} from './arithmetic/idiv.js';
17+
export {idivmod} from './arithmetic/idivmod.js';
18+
export {imod} from './arithmetic/imod.js';
19+
export {imul} from './arithmetic/imul.js';
20+
export {ishl} from './arithmetic/ishl.js';
21+
export {ishr} from './arithmetic/ishr.js';
22+
export {ishu} from './arithmetic/ishu.js';
23+
export {isub} from './arithmetic/isub.js';
24+
export {mod} from './arithmetic/mod.js';
25+
export {mul} from './arithmetic/mul.js';
26+
export {neg} from './arithmetic/neg.js';
27+
export {shl} from './arithmetic/shl.js';
28+
export {shr} from './arithmetic/shr.js';
29+
export {shu} from './arithmetic/shu.js';
30+
export {sub} from './arithmetic/sub.js';
31+
export {decreasing} from './compare/decreasing.js';
32+
export {increasing} from './compare/increasing.js';
33+
export {$0} from './constants/$0.js';
34+
export {$1} from './constants/$1.js';
35+
export {$2} from './constants/$2.js';
36+
export {$5} from './constants/$5.js';
37+
export {$_1} from './constants/$_1.js';
38+
export {ipow2} from './exponential/constants/ipow2.js';
39+
export {pow2} from './exponential/constants/pow2.js';
40+
export {exp} from './exponential/exp.js';
41+
export {pow} from './exponential/pow.js';
42+
export {sqrt} from './exponential/sqrt.js';
43+
export {parse} from './io/parse.js';
44+
export {stringify} from './io/stringify.js';
45+
export {log} from './logarithmic/log.js';
46+
export {log2} from './logarithmic/log2.js';
47+
export {loge} from './logarithmic/loge.js';
48+
export {loglog} from './logarithmic/loglog.js';
49+
export {loglog2} from './logarithmic/loglog2.js';
50+
export {logloge} from './logarithmic/logloge.js';
51+
export {copy} from './memory/copy.js';
52+
export {eq0} from './predicate/constants/eq0.js';
53+
export {eq1} from './predicate/constants/eq1.js';
54+
export {eq_1} from './predicate/constants/eq_1.js';
55+
export {ge1} from './predicate/constants/ge1.js';
56+
export {gt0} from './predicate/constants/gt0.js';
57+
export {gt1} from './predicate/constants/gt1.js';
58+
export {le1} from './predicate/constants/le1.js';
59+
export {lt1} from './predicate/constants/lt1.js';
60+
export {eq} from './predicate/eq.js';
61+
export {ge} from './predicate/ge.js';
62+
export {gt} from './predicate/gt.js';
63+
export {le} from './predicate/le.js';
64+
export {lt} from './predicate/lt.js';
65+
export {ne} from './predicate/ne.js';
66+
export {PI} from './trigonometry/PI.js';
67+
export {atan2} from './trigonometry/atan2.js';
68+
export {cos} from './trigonometry/cos.js';
69+
export {sin} from './trigonometry/sin.js';

‎src/io/index.js

-2
This file was deleted.

‎src/logarithmic/index.js

-6
This file was deleted.

‎src/memory/index.js

-1
This file was deleted.

‎src/predicate/constants/index.js

-8
This file was deleted.

‎src/predicate/index.js

-7
This file was deleted.

‎src/trigonometry/index.js

-4
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.