File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ Version 2.1.1 (2014-11-06)
2
+ --------------------------
3
+ Rounded chromeFirstPaint field to an integer (#282)
4
+
1
5
Version 2.1.0 (2014-11-05)
2
6
--------------------------
3
7
Added automated form submission tracking (#252)
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " snowplow-tracker" ,
3
- "version" : " 2.1.0 " ,
3
+ "version" : " 2.1.1 " ,
4
4
"devDependencies" : {
5
5
"JSON" : " ~1.0.0" ,
6
6
"browser-cookie-lite" : " ~0.3.1" ,
Original file line number Diff line number Diff line change 581
581
// Add the Chrome firstPaintTime to the performance if it exists
582
582
if ( window . chrome && window . chrome . loadTimes && typeof window . chrome . loadTimes ( ) . firstPaintTime === 'number' ) {
583
583
performanceTiming = lodash . clone ( performanceTiming ) ;
584
- performanceTiming . chromeFirstPaint = window . chrome . loadTimes ( ) . firstPaintTime * 1000 ;
584
+ performanceTiming . chromeFirstPaint = Math . round ( window . chrome . loadTimes ( ) . firstPaintTime * 1000 ) ;
585
585
}
586
586
587
587
context = context || [ ] ;
You can’t perform that action at this time.
0 commit comments