Skip to content

Commit

Permalink
fix: reset ids on start of resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Apr 7, 2019
1 parent 8b32db2 commit b65585a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/resolver/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ import {
convertEventsToInstances,
EventForInstance,
getId,
isConstant
isConstant,
resetId
} from '../lib'
import { validateTimeline } from './validate'
import { interpretExpression } from './expression'
Expand All @@ -48,6 +49,7 @@ export class Resolver {
if (!options) throw new Error('resolveTimeline: parameter options missing')

validateTimeline(timeline, false)
resetId()

const resolvedTimeline: ResolvedTimeline = {
options: _.clone(options),
Expand Down

0 comments on commit b65585a

Please sign in to comment.