basic astro docs
This commit is contained in:
parent
61657bd1b1
commit
bc7a84e462
48 changed files with 14926 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ export const logKey = 'strudel.log';
|
|||
|
||||
export function logger(message, type, data = {}) {
|
||||
console.log(`%c${message}`, 'background-color: black;color:white;border-radius:15px');
|
||||
if (typeof CustomEvent !== 'undefined') {
|
||||
if (typeof document !== 'undefined' && typeof CustomEvent !== 'undefined') {
|
||||
document.dispatchEvent(
|
||||
new CustomEvent(logKey, {
|
||||
detail: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue