import { SNIPPET_MEASURE_BLOBS_CONTENT } from '~/performance_constants';
import eventHub from '~/blob/components/eventhub';
export default {
props: {
content: {
type: String,
required: true,
},
type: {
type: String,
required: true,
},
},
mounted() {
eventHub.$emit(SNIPPET_MEASURE_BLOBS_CONTENT);
},
};
-
Denys Mishunov authored
Also removed unnecessary requestAnimationFrame in performance utils as it does nothing really
7ebf08ef