##// END OF EJS Templates
sessions: improve the code so it doesn't access cookies/sessions when not needed, e.g for API calls
sessions: improve the code so it doesn't access cookies/sessions when not needed, e.g for API calls

File last commit:

r3180:a5902294 default
r5027:bf543103 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');