A PerformanceTimeline polyfill for legacy browsers.
Usage
module
npm install --save timing2
;timing2;timing2;timing2;timing2;timing2timeOrigin;
standalone
API
The following methods and properties of window.performance
is polyfilled:
- getEntries
- getEntriesByName
- getEntriesByType
- now
- timeOrigin
For legacy browsers, only NavigationTiming
will be returned.
ChangeLog
v0.3.0
- make this project a polyfill