Skip to content

Commit 148d23c

Browse files
committed
code formatting
1 parent e6b158f commit 148d23c

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

src/Index.ts

+17-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import Easing from './Easing'
1111
import Group from './Group'
1212
import Interpolation from './Interpolation'
13-
import now, { setNow } from './Now'
13+
import now, {setNow} from './Now'
1414
import Sequence from './Sequence'
1515
import Tween from './Tween'
1616
import VERSION from './Version'
@@ -273,7 +273,22 @@ const update = TWEEN.update.bind(TWEEN)
273273

274274
// NOTE! Make sure both lists of exports below are kept in sync:
275275

276-
export {Easing, Group, Interpolation, now, setNow, Sequence, nextId, Tween, VERSION, getAll, removeAll, add, remove, update}
276+
export {
277+
Easing,
278+
Group,
279+
Interpolation,
280+
now,
281+
setNow,
282+
Sequence,
283+
nextId,
284+
Tween,
285+
VERSION,
286+
getAll,
287+
removeAll,
288+
add,
289+
remove,
290+
update,
291+
}
277292

278293
const exports = {
279294
Easing,

src/Now.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
let _nowFunc: Function = () => performance.now()
22

33
const now = (): number => {
4-
return _nowFunc()
4+
return _nowFunc()
55
}
66

77
export function setNow(nowFunction: Function) {
8-
_nowFunc = nowFunction
8+
_nowFunc = nowFunction
99
}
1010

1111
export default now

0 commit comments

Comments
 (0)