Skip to content

Commit

Permalink
Release v1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jan 3, 2023
1 parent 3516db2 commit f8b17d4
Show file tree
Hide file tree
Showing 21 changed files with 69 additions and 69 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2022 individual contributors to web-ignition
Copyright (c) 2018-2023 Individual contributors to web-ignition

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions 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 v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v1.6.2 ~~ 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 v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v1.6.2 ~~ 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 v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v1.6.2 ~~ 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 v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v1.6.2 ~~ 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 v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v1.6.2 ~~ 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 v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v1.6.2 ~~ 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 v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v1.6.2 ~~ https://github.com/center-key/web-ignition ~~ MIT License
const numNeonImages=8;$("body").addClass("neon-image-"+(Date.now()%numNeonImages+1));
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 v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v1.6.2 ~~ 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 v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v1.6.2 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

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

/// <reference types="node" />
declare global {
Expand All @@ -10,48 +10,48 @@ declare global {
forEach: (fn: LibXForEachCallback) => JQuery;
}
}
export declare type Json = string | number | boolean | null | undefined | JsonObject | Json[];
export declare type JsonObject = {
export type Json = string | number | boolean | null | undefined | JsonObject | Json[];
export type JsonObject = {
[key: string]: Json;
};
export declare type JsonData = JsonObject | Json[];
export declare type LibXForEachCallback = (elem: JQuery, index: number) => void;
export declare type LibXObject = {
export type JsonData = JsonObject | Json[];
export type LibXForEachCallback = (elem: JQuery, index: number) => void;
export type LibXObject = {
[key: string]: unknown;
};
export declare type LibXUiPopupSettings = {
export type LibXUiPopupSettings = {
width: number;
height: number;
};
export declare type LibXUiPopupOptions = Partial<LibXUiPopupSettings>;
export declare type LibXUiKeepOnScreenSettings = {
export type LibXUiPopupOptions = Partial<LibXUiPopupSettings>;
export type LibXUiKeepOnScreenSettings = {
padding: number;
};
export declare type LibXUiKeepOnScreenOptions = Partial<LibXUiKeepOnScreenSettings>;
export declare type LibXCryptoHashSettings = {
export type LibXUiKeepOnScreenOptions = Partial<LibXUiKeepOnScreenSettings>;
export type LibXCryptoHashSettings = {
algorithm: string;
salt: string;
};
export declare type LibXCryptoHashOptions = Partial<LibXCryptoHashSettings>;
export declare type LibXUiEnei = JQuery | HTMLElement | JQuery.EventBase | number;
export declare type LibXCounterMap = {
export type LibXCryptoHashOptions = Partial<LibXCryptoHashSettings>;
export type LibXUiEnei = JQuery | HTMLElement | JQuery.EventBase | number;
export type LibXCounterMap = {
[counter: string]: number;
};
export declare type LibXSocialButton = {
export type LibXSocialButton = {
title: string;
icon: string;
x: number;
y: number;
link: string;
};
export declare type LibXMontageLoopSettings = {
export type LibXMontageLoopSettings = {
container: string | JQuery;
start: number | null;
intervalMs: number;
fadeMs: number;
};
export declare type LibXMontageLoopOptions = Partial<LibXMontageLoopSettings>;
export declare type NavigatorUAData = {
export type LibXMontageLoopOptions = Partial<LibXMontageLoopSettings>;
export type NavigatorUAData = {
readonly brands: {
brand: string;
version: string;
Expand Down
16 changes: 8 additions & 8 deletions dist/lib-x.dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v1.6.2 ~~ https://github.com/center-key/web-ignition ~~ MIT License

const libXUi = {
plugin: {
Expand Down Expand Up @@ -210,7 +210,7 @@ const libXCounter = {
const libXBrowser = {
userAgentData() {
var _a;
const polyfil = () => {
const polyfill = () => {
var _a, _b, _c, _d, _e;
const brandEntry = (_b = (_a = globalThis.navigator.userAgent.split(' ').pop()) === null || _a === void 0 ? void 0 : _a.split('/')) !== null && _b !== void 0 ? _b : [];
const hasTouch = !!navigator.maxTouchPoints;
Expand All @@ -223,7 +223,7 @@ const libXBrowser = {
platform: (_e = platforms[platform]) !== null && _e !== void 0 ? _e : platform,
};
};
return (_a = globalThis.navigator['userAgentData']) !== null && _a !== void 0 ? _a : polyfil();
return (_a = globalThis.navigator['userAgentData']) !== null && _a !== void 0 ? _a : polyfill();
},
iOS() {
return libX.browser.userAgentData().platform === 'iOS';
Expand Down Expand Up @@ -366,21 +366,21 @@ const libXExtra = {
console.log('Article: %c' + $('h1.entry-title').text().trim(), 'color: purple;');
$('#header >.header-bar h3').attr('data-href', websiteUrl);
libX.ui.normalize();
window['hljsEnhance'].setup();
globalThis['hljsEnhance'].setup();
};
globalThis.setTimeout(libX.ui.normalize, 2000);
return $(window['blogger'].ui()).on({ viewitem: onArticleLoad });
return $(globalThis['blogger'].ui()).on({ viewitem: onArticleLoad });
},
gTags(scriptTag) {
const trackingID = $(scriptTag).attr('src').split('=')[1];
window['dataLayer'] = window['dataLayer'] || [];
function gtag(...args) { window['dataLayer'].push(args); }
globalThis['dataLayer'] = globalThis['dataLayer'] || [];
function gtag(...args) { globalThis['dataLayer'].push(args); }
gtag('js', new Date());
gtag('config', trackingID);
},
};
const libX = {
version: '1.6.1',
version: '1.6.2',
ui: libXUi,
util: libXUtil,
crypto: libXCrypto,
Expand Down
16 changes: 8 additions & 8 deletions dist/lib-x.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v1.6.1 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v1.6.2 ~~ https://github.com/center-key/web-ignition ~~ MIT License

import { dna } from 'dna-engine';
const libXUi = {
Expand Down Expand Up @@ -211,7 +211,7 @@ const libXCounter = {
const libXBrowser = {
userAgentData() {
var _a;
const polyfil = () => {
const polyfill = () => {
var _a, _b, _c, _d, _e;
const brandEntry = (_b = (_a = globalThis.navigator.userAgent.split(' ').pop()) === null || _a === void 0 ? void 0 : _a.split('/')) !== null && _b !== void 0 ? _b : [];
const hasTouch = !!navigator.maxTouchPoints;
Expand All @@ -224,7 +224,7 @@ const libXBrowser = {
platform: (_e = platforms[platform]) !== null && _e !== void 0 ? _e : platform,
};
};
return (_a = globalThis.navigator['userAgentData']) !== null && _a !== void 0 ? _a : polyfil();
return (_a = globalThis.navigator['userAgentData']) !== null && _a !== void 0 ? _a : polyfill();
},
iOS() {
return libX.browser.userAgentData().platform === 'iOS';
Expand Down Expand Up @@ -367,21 +367,21 @@ const libXExtra = {
console.log('Article: %c' + $('h1.entry-title').text().trim(), 'color: purple;');
$('#header >.header-bar h3').attr('data-href', websiteUrl);
libX.ui.normalize();
window['hljsEnhance'].setup();
globalThis['hljsEnhance'].setup();
};
globalThis.setTimeout(libX.ui.normalize, 2000);
return $(window['blogger'].ui()).on({ viewitem: onArticleLoad });
return $(globalThis['blogger'].ui()).on({ viewitem: onArticleLoad });
},
gTags(scriptTag) {
const trackingID = $(scriptTag).attr('src').split('=')[1];
window['dataLayer'] = window['dataLayer'] || [];
function gtag(...args) { window['dataLayer'].push(args); }
globalThis['dataLayer'] = globalThis['dataLayer'] || [];
function gtag(...args) { globalThis['dataLayer'].push(args); }
gtag('js', new Date());
gtag('config', trackingID);
},
};
const libX = {
version: '1.6.1',
version: '1.6.2',
ui: libXUi,
util: libXUtil,
crypto: libXCrypto,
Expand Down
Loading

0 comments on commit f8b17d4

Please sign in to comment.