2 Commits
Author SHA1 Message Date
Andrey Savchenko a00b11f78a Updated changelog for 1.3.1 2015-08-12 00:15:24 +03:00
Andrey Savchenko 32f300af7f Added check to catch event stops without matching starts
Fixes #7
2015-08-12 00:14:33 +03:00
2 changed files with 8 additions and 0 deletions

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
# Changelog # Changelog
## 1.3.1
- fixed crash on event stop without matching start
## 1.3 ## 1.3
- implemented minified assets - implemented minified assets
+4
View File
@@ -102,6 +102,10 @@ class Laps {
) )
); );
if ( 'stop' === $event['action'] && ! self::$stopwatch->isStarted( $event['event'] ) ) {
return $input;
}
self::$stopwatch->$event['action']( $event['event'], $event['category'] ); self::$stopwatch->$event['action']( $event['event'], $event['category'] );
return $input; return $input;