Skip to content

Commit

Permalink
StopWatch -> Stopwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
krukow committed Nov 24, 2011
1 parent fb79301 commit 1477acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ int randomInt(int max) => floor(Math.random()*max);
// timing actions

time(action, [watches]) {
var actionTimer = new StopWatch();
var actionTimer = new Stopwatch();
if (watches == null) {
watches = [];
} else if (watches is StopWatch) {
} else if (watches is Stopwatch) {
watches = [watches];
}
assert(watches is Collection);
Expand Down

0 comments on commit 1477acf

Please sign in to comment.