Skip to content

Commit e105aac

Browse files
committed
change dir path
1 parent 4bc479d commit e105aac

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
File renamed without changes.

index.js renamed to src/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import curves from './lib/curves'
1+
import curves from './config/curves'
22

33
const defaultTransitionBC = 'linear'
44

@@ -12,7 +12,7 @@ const defaultTransitionBC = 'linear'
1212
* @param {Boolean} deep Whether to use recursive mode
1313
* @return {Array} State of each frame of the animation
1414
*/
15-
function transition (tBC, startState = false, endState = false, frameNum = 30, deep = false) {
15+
export function transition (tBC, startState = false, endState = false, frameNum = 30, deep = false) {
1616
if (!checkParams(...arguments)) return false
1717

1818
try {
@@ -306,5 +306,3 @@ export function injectNewCurve (key, curve) {
306306

307307
curves.set(key, curve)
308308
}
309-
310-
export default transition

0 commit comments

Comments
 (0)