##// END OF EJS Templates
processes: use 200ms CPU measure time to get actual results, previous implementation showed 0 most of the time.
processes: use 200ms CPU measure time to get actual results, previous implementation showed 0 most of the time.

File last commit:

r3180:a5902294 default
r3911:16d5221a default
Show More
shared-styles.js
12 lines | 266 B | application/javascript | JavascriptLexer
const styleElement = document.createElement('dom-module');
// this will use raw-loader
import sharedCSS from './style-polymer.css';
styleElement.innerHTML =
`<template>
<style>
${sharedCSS}
</style>
</template>`;
styleElement.register('shared-styles');