Skip to content

Commit

Permalink
refactor(scheduler): rename DefaultScheduler to Scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Mar 21, 2017
1 parent 4f49b65 commit df35b35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/Scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Frames implements ISubscription {
}

}
class DefaultScheduler implements IScheduler {
class Scheduler implements IScheduler {
frame (task: () => void): ISubscription {
return new Frames(task)
}
Expand All @@ -119,4 +119,4 @@ class DefaultScheduler implements IScheduler {
return Date.now()
}
}
export const createScheduler = (): IScheduler => new DefaultScheduler()
export const createScheduler = (): IScheduler => new Scheduler()

0 comments on commit df35b35

Please sign in to comment.