File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 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+
15Version 2.1.0 (2014-11-05)
26--------------------------
37Added automated form submission tracking (#252)
Original file line number Diff line number Diff line change 11{
22 "name" : " snowplow-tracker" ,
3- "version" : " 2.1.0 " ,
3+ "version" : " 2.1.1 " ,
44 "devDependencies" : {
55 "JSON" : " ~1.0.0" ,
66 "browser-cookie-lite" : " ~0.3.1" ,
Original file line number Diff line number Diff line change 581581 // Add the Chrome firstPaintTime to the performance if it exists
582582 if ( window . chrome && window . chrome . loadTimes && typeof window . chrome . loadTimes ( ) . firstPaintTime === 'number' ) {
583583 performanceTiming = lodash . clone ( performanceTiming ) ;
584- performanceTiming . chromeFirstPaint = window . chrome . loadTimes ( ) . firstPaintTime * 1000 ;
584+ performanceTiming . chromeFirstPaint = Math . round ( window . chrome . loadTimes ( ) . firstPaintTime * 1000 ) ;
585585 }
586586
587587 context = context || [ ] ;
You can’t perform that action at this time.
0 commit comments