##// END OF EJS Templates
quick-switcher: handle errors using Swal, and create a new helper to make calls the same across whole app.
quick-switcher: handle errors using Swal, and create a new helper to make calls the same across whole app.

File last commit:

r3180:a5902294 default
r4339:de17b181 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');