UNPKG

@botonic/plugin-contentful

Version:

Botonic Plugin Contentful is one of the **[available](https://github.com/hubtype/botonic/tree/master/packages)** plugins for Botonic. **[Contentful](http://www.contentful.com)** is a CMS (Content Management System) which manages contents of a great variet

20 lines 533 B
import { PerformanceMeasurer } from './performance-measurer'; export class WebPerformanceMeasurer extends PerformanceMeasurer { constructor() { super(performance); } getEntriesByName(name) { return this.perf.getEntriesByName(name); } end(mark, name) { super.end(mark, name); if (this.enabled) { this.allProfiled[name] = []; } } clear() { super.clear(); this.perf.clearMarks(); } } //# sourceMappingURL=web-performance-measurer.js.map