Skip to content

Commit

Permalink
Release v2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Oct 1, 2023
1 parent e6186f5 commit a2bfeb3
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 43 deletions.
2 changes: 1 addition & 1 deletion dist/blogger-tweaks.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/layouts/block-duo.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Block Duo layout -- Two big columns followed by a single footer
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/color-blocks.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Color Blocks layout -- Two columns of colorful blocks
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/color-slide.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Color Slide layout -- Top to botttom color transition
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/letterbox.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Letterbox layout -- Edge-to-edge semi-opaque bar over cover background image
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/modern.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Modern layout -- Clean blog post page
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/neon.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Neon layout -- For hackers and space junkies
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/neon.min.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License
const numNeonImages=8;const randomImage=Date.now()%numNeonImages+1;globalThis.document.body.classList.add("neon-image-"+String(randomImage));
2 changes: 1 addition & 1 deletion dist/layouts/vertical-bars.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Vertical Bars layout -- traditional boring old-school webpage
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/zebra-sections.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Zebra Sections layout -- Edge-to-edge blocks with alternating background colors
Expand Down
13 changes: 12 additions & 1 deletion dist/lib-x.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License

export type GlobalKey = keyof typeof globalThis;
export type Json = string | number | boolean | null | undefined | JsonObject | Json[];
Expand Down Expand Up @@ -50,6 +50,17 @@ export type NavigatorUAData = {
readonly platform: string;
};
export type LibX = typeof libX;
type Blogger = {
ui: () => {
addListener: (type: string, listener: () => void) => void;
Lc: {
wb: string[];
};
};
};
declare global {
var blogger: Blogger;
}
declare global {
var dataLayer: unknown[];
}
Expand Down
17 changes: 5 additions & 12 deletions dist/lib-x.dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License

const libXDom = {
stateDepot: [],
Expand Down Expand Up @@ -790,20 +790,13 @@ const libXExtra = {
console.log('Setup for:', websiteUrl);
const onArticleLoad = () => {
const title = libX.dom.select('h1.entry-title').textContent.trim();
console.log('Article: %c' + title, 'font-weight: bold; color: purple;');
console.log('Article: %c' + title, 'font-weight: bold; color: turquoise;');
libX.dom.select('#header >.header-bar h3').dataset.href = websiteUrl;
libX.ui.normalize();
globalThis.hljsEnhance.setup();
};
const ready = () => {
console.log(Date.now(), 'loading...');
if (globalThis.document.querySelector('#header h1'))
onArticleLoad();
else
globalThis.setTimeout(ready, 500);
};
ready();
globalThis.setTimeout(libX.ui.normalize, 2000);
const delayed = () => globalThis.setTimeout(onArticleLoad, 2000);
globalThis.blogger.ui().addListener('updated', delayed);
},
gTags(scriptTag) {
const trackingID = scriptTag.src.split('=')[1];
Expand All @@ -814,7 +807,7 @@ const libXExtra = {
},
};
const libX = {
version: '2.0.7',
version: '2.0.8',
dom: libXDom,
ui: libXUi,
util: libXUtil,
Expand Down
17 changes: 5 additions & 12 deletions dist/lib-x.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.0.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.0.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License

const libXDom = {
stateDepot: [],
Expand Down Expand Up @@ -790,20 +790,13 @@ const libXExtra = {
console.log('Setup for:', websiteUrl);
const onArticleLoad = () => {
const title = libX.dom.select('h1.entry-title').textContent.trim();
console.log('Article: %c' + title, 'font-weight: bold; color: purple;');
console.log('Article: %c' + title, 'font-weight: bold; color: turquoise;');
libX.dom.select('#header >.header-bar h3').dataset.href = websiteUrl;
libX.ui.normalize();
globalThis.hljsEnhance.setup();
};
const ready = () => {
console.log(Date.now(), 'loading...');
if (globalThis.document.querySelector('#header h1'))
onArticleLoad();
else
globalThis.setTimeout(ready, 500);
};
ready();
globalThis.setTimeout(libX.ui.normalize, 2000);
const delayed = () => globalThis.setTimeout(onArticleLoad, 2000);
globalThis.blogger.ui().addListener('updated', delayed);
},
gTags(scriptTag) {
const trackingID = scriptTag.src.split('=')[1];
Expand All @@ -814,7 +807,7 @@ const libXExtra = {
},
};
const libX = {
version: '2.0.7',
version: '2.0.8',
dom: libXDom,
ui: libXUi,
util: libXUtil,
Expand Down
4 changes: 2 additions & 2 deletions dist/lib-x.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit a2bfeb3

Please sign in to comment.