j1-template 2023.1.0 → 2023.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_collection.html +2 -3
- data/assets/data/banner.html +8 -6
- data/assets/data/masonry.html +263 -73
- data/assets/data/slick.html +155 -59
- data/assets/error_pages/HTTP204.html +1 -1
- data/assets/error_pages/HTTP400.html +1 -1
- data/assets/error_pages/HTTP401.html +1 -1
- data/assets/error_pages/HTTP403.html +1 -1
- data/assets/error_pages/HTTP404.html +1 -1
- data/assets/error_pages/HTTP444.html +1 -1
- data/assets/error_pages/HTTP445.html +1 -1
- data/assets/error_pages/HTTP446.html +1 -1
- data/assets/error_pages/HTTP447.html +1 -1
- data/assets/error_pages/HTTP448.html +1 -1
- data/assets/error_pages/HTTP500.html +1 -1
- data/assets/error_pages/HTTP501.html +1 -1
- data/assets/error_pages/HTTP502.html +1 -1
- data/assets/error_pages/HTTP503.html +1 -1
- data/assets/themes/j1/adapter/js/masonry.js +9 -1
- data/assets/themes/j1/adapter/js/slick.js +239 -134
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +247 -0
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +55 -57
- data/assets/themes/j1/core/js/template.min.js +6 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/masonry/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/slick/lightbox/README.md +6 -1
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +36 -0
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +1 -1
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +173 -137
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/slick/slider/js/slick.js +2970 -2233
- data/assets/themes/j1/modules/translator/css/translator.css +3 -19
- data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +25 -1
- data/lib/starter_web/_data/blocks/banner.yml +45 -46
- data/lib/starter_web/_data/blocks/panel.yml +9 -9
- data/lib/starter_web/_data/layouts/home.yml +39 -21
- data/lib/starter_web/_data/modules/defaults/slick.yml +2 -2
- data/lib/starter_web/_data/modules/masonry.yml +155 -41
- data/lib/starter_web/_data/modules/navigator_menu.yml +632 -591
- data/lib/starter_web/_data/modules/scroller.yml +1 -1
- data/lib/starter_web/_data/modules/slick.yml +260 -54
- data/lib/starter_web/_data/puma/config.rb +10 -0
- data/lib/starter_web/_data/resources.yml +1 -0
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +24 -0
- data/lib/starter_web/_includes/custom/static/readme +1 -1
- data/lib/starter_web/_includes/custom/templates/collection_panel.html +131 -0
- data/lib/starter_web/_includes/custom/templates/custom_header.html +98 -76
- data/lib/starter_web/_includes/custom/templates/people_panel.html +144 -0
- data/lib/starter_web/_includes/custom/templates/readme +1 -1
- data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +10 -0
- data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +44 -0
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/collections/people/diana-petersen.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/larry-parker.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/parveen-anand.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +5 -5
- data/lib/starter_web/collections/_biography/becoming.adoc +5 -5
- data/lib/starter_web/collections/_biography/born-to-run.adoc +5 -5
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +5 -5
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +5 -6
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +5 -5
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +6 -7
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +14 -4
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +13 -3
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +11 -3
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +15 -3
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +11 -3
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +11 -3
- data/lib/starter_web/collections/_people/diana-petersen.adoc +167 -0
- data/lib/starter_web/collections/_people/larry-parker.adoc +167 -0
- data/lib/starter_web/collections/_people/parveen-anand.adoc +167 -0
- data/lib/starter_web/collections/_portfolio/branding.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/graphic_design.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/identity.adoc +99 -0
- data/lib/starter_web/collections/_portfolio/illustration.adoc +101 -0
- data/lib/starter_web/collections/_portfolio/photography.adoc +100 -0
- data/lib/starter_web/collections/_portfolio/web_design.adoc +109 -0
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +12 -3
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +10 -3
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +13 -3
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +11 -3
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +12 -3
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +16 -4
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +4 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +4 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +4 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +4 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +4 -4
- data/lib/starter_web/index.html +129 -129
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +107 -0
- data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_biography.adoc +21 -12
- data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_fantasy.adoc +11 -6
- data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_romance.adoc +11 -5
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +53 -4
- data/lib/starter_web/pages/public/plans/plans.adoc +25 -12
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +59 -79
- data/assets/data/masonry.4.html +0 -213
- data/assets/themes/j1/adapter/js/slick.3.js +0 -365
- data/lib/starter_web/assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img1.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img2.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img3.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img4.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img5.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img6.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img7.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img8.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img9.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-1.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-2.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-3.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-4.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-5.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-6.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-7.png +0 -0
- data/lib/starter_web/assets/images/parsa/icons/favicon.ico +0 -0
- data/lib/starter_web/assets/images/parsa/icons/icon.png +0 -0
- data/lib/starter_web/assets/images/parsa/icons/icon.svg +0 -152
- data/lib/starter_web/assets/images/parsa/icons/logo.svg +0 -172
- data/lib/starter_web/assets/images/parsa/masthead/19-02-_2023_09-05-46.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/masthead/banner-img.png +0 -0
- data/lib/starter_web/assets/images/parsa/pages/1920x1280/author.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/pages/1920x1280/contact.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/pages/author.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/pages/contact.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/partners/scalable/facebook.svg +0 -34
- data/lib/starter_web/assets/images/parsa/partners/scalable/google.svg +0 -35
- data/lib/starter_web/assets/images/parsa/partners/scalable/ibm.svg +0 -24
- data/lib/starter_web/assets/images/parsa/partners/scalable/microsoft.svg +0 -42
- data/lib/starter_web/assets/images/parsa/posts/1280x1024/post-img.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/posts/1280x1024/post-single.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/promo/home/screenshot.jpg +0 -0
- data/lib/starter_web/pages/public/previewer/preview_masonry.adoc +0 -361
- data/lib/starter_web/pages/public/previewer/preview_slick_slider.adoc +0 -375
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/1.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/2.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/3.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/4.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/5.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/6.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/icons → icons/controls}/close-icon.svg +0 -0
- /data/lib/starter_web/assets/images/{parsa/icons → icons/controls}/up.svg +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/dynamic-web-access.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jamstack-generators.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.1200x400.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.png +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-1.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-2.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-3.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-4.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-5.jpg +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/static-web-access.png +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-1.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-10.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-11.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-12.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-13.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-2.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-3.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-4.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-5.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-6.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-7.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-8.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-9.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/post-img.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/post-single.jpg +0 -0
- /data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/jekyll_collections.adoc +0 -0
@@ -36,7 +36,7 @@ module.exports = function (j1, window) {
|
|
36
36
|
// _init_
|
37
37
|
// Global initializer for the adapter object
|
38
38
|
// -------------------------------------------------------------------------
|
39
|
-
_init_: function
|
39
|
+
_init_: function () {
|
40
40
|
return;
|
41
41
|
} // END _init_
|
42
42
|
}; // END return
|
@@ -168,46 +168,46 @@ function applyArguments(func, args) {
|
|
168
168
|
return func.apply(null, args);
|
169
169
|
}
|
170
170
|
var is = {
|
171
|
-
arr: function
|
171
|
+
arr: function (a) {
|
172
172
|
return Array.isArray(a);
|
173
173
|
},
|
174
|
-
obj: function
|
174
|
+
obj: function (a) {
|
175
175
|
return stringContains(Object.prototype.toString.call(a), 'Object');
|
176
176
|
},
|
177
|
-
pth: function
|
177
|
+
pth: function (a) {
|
178
178
|
return is.obj(a) && a.hasOwnProperty('totalLength');
|
179
179
|
},
|
180
|
-
svg: function
|
180
|
+
svg: function (a) {
|
181
181
|
return a instanceof SVGElement;
|
182
182
|
},
|
183
|
-
inp: function
|
183
|
+
inp: function (a) {
|
184
184
|
return a instanceof HTMLInputElement;
|
185
185
|
},
|
186
|
-
dom: function
|
186
|
+
dom: function (a) {
|
187
187
|
return a.nodeType || is.svg(a);
|
188
188
|
},
|
189
|
-
str: function
|
189
|
+
str: function (a) {
|
190
190
|
return typeof a === 'string';
|
191
191
|
},
|
192
|
-
fnc: function
|
192
|
+
fnc: function (a) {
|
193
193
|
return typeof a === 'function';
|
194
194
|
},
|
195
|
-
und: function
|
195
|
+
und: function (a) {
|
196
196
|
return typeof a === 'undefined';
|
197
197
|
},
|
198
|
-
hex: function
|
198
|
+
hex: function (a) {
|
199
199
|
return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a);
|
200
200
|
},
|
201
|
-
rgb: function
|
201
|
+
rgb: function (a) {
|
202
202
|
return /^rgb/.test(a);
|
203
203
|
},
|
204
|
-
hsl: function
|
204
|
+
hsl: function (a) {
|
205
205
|
return /^hsl/.test(a);
|
206
206
|
},
|
207
|
-
col: function
|
207
|
+
col: function (a) {
|
208
208
|
return is.hex(a) || is.rgb(a) || is.hsl(a);
|
209
209
|
},
|
210
|
-
key: function
|
210
|
+
key: function (a) {
|
211
211
|
return !defaultInstanceSettings.hasOwnProperty(a) && !defaultTweenSettings.hasOwnProperty(a) && a !== 'targets' && a !== 'keyframes';
|
212
212
|
}
|
213
213
|
};
|
@@ -372,29 +372,29 @@ var penner = function () {
|
|
372
372
|
// Based on jQuery UI's implemenation of easing equations from Robert Penner (http://www.robertpenner.com/easing)
|
373
373
|
|
374
374
|
var eases = {
|
375
|
-
linear: function
|
375
|
+
linear: function () {
|
376
376
|
return function (t) {
|
377
377
|
return t;
|
378
378
|
};
|
379
379
|
}
|
380
380
|
};
|
381
381
|
var functionEasings = {
|
382
|
-
Sine: function
|
382
|
+
Sine: function () {
|
383
383
|
return function (t) {
|
384
384
|
return 1 - Math.cos(t * Math.PI / 2);
|
385
385
|
};
|
386
386
|
},
|
387
|
-
Circ: function
|
387
|
+
Circ: function () {
|
388
388
|
return function (t) {
|
389
389
|
return 1 - Math.sqrt(1 - t * t);
|
390
390
|
};
|
391
391
|
},
|
392
|
-
Back: function
|
392
|
+
Back: function () {
|
393
393
|
return function (t) {
|
394
394
|
return t * t * (3 * t - 2);
|
395
395
|
};
|
396
396
|
},
|
397
|
-
Bounce: function
|
397
|
+
Bounce: function () {
|
398
398
|
return function (t) {
|
399
399
|
var pow2,
|
400
400
|
b = 4;
|
@@ -402,7 +402,7 @@ var penner = function () {
|
|
402
402
|
return 1 / Math.pow(4, 3 - b) - 7.5625 * Math.pow((pow2 * 3 - 2) / 22 - t, 2);
|
403
403
|
};
|
404
404
|
},
|
405
|
-
Elastic: function
|
405
|
+
Elastic: function (amplitude, period) {
|
406
406
|
if (amplitude === void 0) amplitude = 1;
|
407
407
|
if (period === void 0) period = .5;
|
408
408
|
var a = minMax(amplitude, 1, 10);
|
@@ -944,7 +944,7 @@ function flattenKeyframes(keyframes) {
|
|
944
944
|
return a;
|
945
945
|
}, []);
|
946
946
|
var properties = {};
|
947
|
-
var loop = function
|
947
|
+
var loop = function (i) {
|
948
948
|
var propName = propertyNames[i];
|
949
949
|
properties[propName] = keyframes.map(function (key) {
|
950
950
|
var newKey = {};
|
@@ -1033,16 +1033,16 @@ function normalizeTweens(prop, animatable) {
|
|
1033
1033
|
// Tween progress
|
1034
1034
|
|
1035
1035
|
var setProgressValue = {
|
1036
|
-
css: function
|
1036
|
+
css: function (t, p, v) {
|
1037
1037
|
return t.style[p] = v;
|
1038
1038
|
},
|
1039
|
-
attribute: function
|
1039
|
+
attribute: function (t, p, v) {
|
1040
1040
|
return t.setAttribute(p, v);
|
1041
1041
|
},
|
1042
|
-
object: function
|
1042
|
+
object: function (t, p, v) {
|
1043
1043
|
return t[p] = v;
|
1044
1044
|
},
|
1045
|
-
transform: function
|
1045
|
+
transform: function (t, p, v, transforms, manual) {
|
1046
1046
|
transforms.list.set(p, v);
|
1047
1047
|
if (p === transforms.last || manual) {
|
1048
1048
|
var str = '';
|
@@ -1104,7 +1104,7 @@ function getAnimations(animatables, properties) {
|
|
1104
1104
|
|
1105
1105
|
function getInstanceTimings(animations, tweenSettings) {
|
1106
1106
|
var animLength = animations.length;
|
1107
|
-
var getTlOffset = function
|
1107
|
+
var getTlOffset = function (anim) {
|
1108
1108
|
return anim.timelineOffset ? anim.timelineOffset : 0;
|
1109
1109
|
};
|
1110
1110
|
var timings = {};
|
@@ -1659,7 +1659,7 @@ module.exports = function asciidoctor(options) {
|
|
1659
1659
|
// -------------------------------------------------------------------------
|
1660
1660
|
// module initializer
|
1661
1661
|
// -------------------------------------------------------------------------
|
1662
|
-
init: function
|
1662
|
+
init: function (options) {
|
1663
1663
|
var moduleOptions = options;
|
1664
1664
|
var logger = log4javascript.getLogger('j1.core.asciidoctor');
|
1665
1665
|
var moduleDefaults = {
|
@@ -1677,7 +1677,7 @@ module.exports = function asciidoctor(options) {
|
|
1677
1677
|
// manage callouts (HTML)
|
1678
1678
|
// -------------------------------------------------------------------------
|
1679
1679
|
// see: https://stackoverflow.com/questions/19393493/add-colgroup-for-each-table-column
|
1680
|
-
callouts: function
|
1680
|
+
callouts: function (options) {
|
1681
1681
|
var colgroupList = '';
|
1682
1682
|
|
1683
1683
|
// If the colist does not have a <colgroup> structure
|
@@ -1693,7 +1693,7 @@ module.exports = function asciidoctor(options) {
|
|
1693
1693
|
// -------------------------------------------------------------------------
|
1694
1694
|
// manage callouts (HTML)
|
1695
1695
|
// -------------------------------------------------------------------------
|
1696
|
-
conums: function
|
1696
|
+
conums: function (options) {
|
1697
1697
|
var dependencies_met_page_finished = setInterval(function () {
|
1698
1698
|
if (j1.getState() == 'finished') {
|
1699
1699
|
// If the colist does not have a <colgroup> structure
|
@@ -1768,7 +1768,7 @@ module.exports = function (options) {
|
|
1768
1768
|
// _init_
|
1769
1769
|
// Global initializer for the core object
|
1770
1770
|
// -------------------------------------------------------------------------
|
1771
|
-
_init_: function
|
1771
|
+
_init_: function (options) {
|
1772
1772
|
//
|
1773
1773
|
// Place handling of options here
|
1774
1774
|
//
|
@@ -1780,7 +1780,7 @@ module.exports = function (options) {
|
|
1780
1780
|
// -------------------------------------------------------------------------
|
1781
1781
|
// Returns the current (processing) state of the module
|
1782
1782
|
// -------------------------------------------------------------------------
|
1783
|
-
getState: function
|
1783
|
+
getState: function () {
|
1784
1784
|
return state;
|
1785
1785
|
},
|
1786
1786
|
// END state
|
@@ -1789,7 +1789,7 @@ module.exports = function (options) {
|
|
1789
1789
|
// isMobile
|
1790
1790
|
// Return true if the current platform is a mobile device
|
1791
1791
|
// -------------------------------------------------------------------------
|
1792
|
-
isMobile: function
|
1792
|
+
isMobile: function (ua_name) {
|
1793
1793
|
var mobile = false;
|
1794
1794
|
(function (a) {
|
1795
1795
|
if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm|cell|chtm|cldc|cmd|co(mp|nd)|craw|da(it|ll|ng)|dbte|dcs|devi|dica|dmob|do(c|p)o|ds(12|d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(|_)|g1 u|g560|gene|gf5|gmo|go(\.w|od)|gr(ad|un)|haie|hcit|hd(m|p|t)|hei|hi(pt|ta)|hp( i|ip)|hsc|ht(c(| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i(20|go|ma)|i230|iac( ||\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|[a-w])|libw|lynx|m1w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|mcr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|([1-8]|c))|phil|pire|pl(ay|uc)|pn2|po(ck|rt|se)|prox|psio|ptg|qaa|qc(07|12|21|32|60|[2-7]|i)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h|oo|p)|sdk\/|se(c(|0|1)|47|mc|nd|ri)|sgh|shar|sie(|m)|sk0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h|v|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl|tdg|tel(i|m)|tim|tmo|to(pl|sh)|ts(70|m|m3|m5)|tx9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas|your|zeto|zte/i.test(a.substr(0, 4))) mobile = true;
|
@@ -1801,7 +1801,7 @@ module.exports = function (options) {
|
|
1801
1801
|
// -------------------------------------------------------------------------
|
1802
1802
|
// Clear button for input fields (forms)
|
1803
1803
|
// -------------------------------------------------------------------------
|
1804
|
-
bsFormClearButton: function
|
1804
|
+
bsFormClearButton: function () {
|
1805
1805
|
// $('.position-relative :input').on('keydown focus', function() {
|
1806
1806
|
$(':input').on('keydown focus change mouseover', function () {
|
1807
1807
|
if ($(this).val().length > 0) {
|
@@ -1826,7 +1826,7 @@ module.exports = function (options) {
|
|
1826
1826
|
// -------------------------------------------------------------------------
|
1827
1827
|
// Initialize Backdrops on all <p> elements of class "dropcap"
|
1828
1828
|
// -------------------------------------------------------------------------
|
1829
|
-
createDropCap: function
|
1829
|
+
createDropCap: function () {
|
1830
1830
|
// add class dropcap
|
1831
1831
|
$('.paragraph.dropcap').children('p').addClass('dropcap');
|
1832
1832
|
|
@@ -1851,7 +1851,6 @@ module.exports = function (options) {
|
|
1851
1851
|
/***/ 610:
|
1852
1852
|
/***/ (() => {
|
1853
1853
|
|
1854
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
1855
1854
|
/*
|
1856
1855
|
A simple jQuery function that can add listeners on attribute change.
|
1857
1856
|
http://meetselva.github.io/attrchange/
|
@@ -1903,7 +1902,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
1903
1902
|
//initialize Mutation Observer
|
1904
1903
|
var MutationObserver = window.MutationObserver || window.WebKitMutationObserver;
|
1905
1904
|
$.fn.attrchange = function (a, b) {
|
1906
|
-
if (
|
1905
|
+
if (typeof a == 'object') {
|
1907
1906
|
//core
|
1908
1907
|
var cfg = {
|
1909
1908
|
trackValues: false,
|
@@ -1983,7 +1982,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
1983
1982
|
};
|
1984
1983
|
$.fn.attrchange.extensions = {
|
1985
1984
|
/*attrchange option/extension*/
|
1986
|
-
disconnect: function
|
1985
|
+
disconnect: function (o) {
|
1987
1986
|
if (typeof o !== 'undefined' && o.isPhysicalDisconnect) {
|
1988
1987
|
return this.each(function () {
|
1989
1988
|
var attrchangeMethod = $(this).data('attrchange-method');
|
@@ -2001,12 +2000,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
2001
2000
|
}
|
2002
2001
|
},
|
2003
2002
|
|
2004
|
-
remove: function
|
2003
|
+
remove: function (o) {
|
2005
2004
|
return $.fn.attrchange.extensions['disconnect'].call(this, {
|
2006
2005
|
isPhysicalDisconnect: true
|
2007
2006
|
});
|
2008
2007
|
},
|
2009
|
-
getProperties: function
|
2008
|
+
getProperties: function (o) {
|
2010
2009
|
var attrchangeMethod = $(this).data('attrchange-method');
|
2011
2010
|
var pollInterval = $(this).data('attrchange-pollInterval');
|
2012
2011
|
return {
|
@@ -2016,11 +2015,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
2016
2015
|
status: typeof attrchangeMethod === 'undefined' ? 'removed' : $(this).data('attrchange-status')
|
2017
2016
|
};
|
2018
2017
|
},
|
2019
|
-
reconnect: function
|
2018
|
+
reconnect: function (o) {
|
2020
2019
|
//reconnect possible only when there is a logical disconnect
|
2021
2020
|
return this.data('attrchange-status', 'connected');
|
2022
2021
|
},
|
2023
|
-
polling: function
|
2022
|
+
polling: function (o) {
|
2024
2023
|
if (o.hasOwnProperty('isComputedStyle') && o.isComputedStyle == 'true') {
|
2025
2024
|
/* extensive and slow - polling to check on computed style properties */
|
2026
2025
|
return this.each(function (i, _this) {
|
@@ -2165,7 +2164,7 @@ module.exports = function navigator(options) {
|
|
2165
2164
|
// -------------------------------------------------------------------------
|
2166
2165
|
// module initializer
|
2167
2166
|
// -------------------------------------------------------------------------
|
2168
|
-
init: function
|
2167
|
+
init: function (defaultOptions, menuOptions) {
|
2169
2168
|
logger = log4javascript.getLogger('j1.core.navigator');
|
2170
2169
|
logText = 'core is being initialized';
|
2171
2170
|
logger.info(logText);
|
@@ -2187,7 +2186,7 @@ module.exports = function navigator(options) {
|
|
2187
2186
|
// -------------------------------------------------------------------------
|
2188
2187
|
// event handler
|
2189
2188
|
// -------------------------------------------------------------------------
|
2190
|
-
eventHandler: function
|
2189
|
+
eventHandler: function (options) {
|
2191
2190
|
var defaultOptions = options;
|
2192
2191
|
var logger = log4javascript.getLogger('j1.core.navigator.eventHandler');
|
2193
2192
|
var $getNav = $('nav.navbar.navigator');
|
@@ -2353,7 +2352,7 @@ module.exports = function navigator(options) {
|
|
2353
2352
|
var firstList = postsArr.splice(0, Math.round(postsArr.length / 2));
|
2354
2353
|
var secondList = postsArr;
|
2355
2354
|
var ListHTML = '';
|
2356
|
-
var createHTML = function
|
2355
|
+
var createHTML = function (list) {
|
2357
2356
|
ListHTML = '';
|
2358
2357
|
for (var i = 0; i < list.length; i++) {
|
2359
2358
|
ListHTML += '<li>' + list[i] + '</li>';
|
@@ -2488,7 +2487,7 @@ module.exports = function navigator(options) {
|
|
2488
2487
|
// -------------------------------------------------------------------------
|
2489
2488
|
// Manage the Menu Dropdowns for Desktop|Mobile
|
2490
2489
|
// -------------------------------------------------------------------------
|
2491
|
-
manageDropdownMenu: function
|
2490
|
+
manageDropdownMenu: function (defaultOptions, menuOptions) {
|
2492
2491
|
var navDefaultOptions = defaultOptions;
|
2493
2492
|
var navMenuOptions = menuOptions;
|
2494
2493
|
var $getNav = $('nav.navbar.navigator');
|
@@ -2699,7 +2698,7 @@ module.exports = function navigator(options) {
|
|
2699
2698
|
// -------------------------------------------------------------------------
|
2700
2699
|
// Sticky Navbar
|
2701
2700
|
// -------------------------------------------------------------------------
|
2702
|
-
navbarSticky: function
|
2701
|
+
navbarSticky: function () {
|
2703
2702
|
var $getNav = $('nav.navbar.navigator'),
|
2704
2703
|
navSticky = $getNav.hasClass('navbar-sticky');
|
2705
2704
|
if (navSticky) {
|
@@ -2725,7 +2724,7 @@ module.exports = function navigator(options) {
|
|
2725
2724
|
// updateSidebar
|
2726
2725
|
// Note:
|
2727
2726
|
// -------------------------------------------------------------------------
|
2728
|
-
updateSidebar: function
|
2727
|
+
updateSidebar: function (user_data) {
|
2729
2728
|
var logger = log4javascript.getLogger('j1.core.navigator.updateSidebar');
|
2730
2729
|
var json_message;
|
2731
2730
|
|
@@ -2798,7 +2797,7 @@ module.exports = function scrollSmooth(options) {
|
|
2798
2797
|
// -------------------------------------------------------------------------
|
2799
2798
|
// Initialize scrollSmooth
|
2800
2799
|
// -------------------------------------------------------------------------
|
2801
|
-
scroll: function
|
2800
|
+
scroll: function (target, options) {
|
2802
2801
|
var logger;
|
2803
2802
|
var logText;
|
2804
2803
|
logger = log4javascript.getLogger('j1.core.scrollSmooth');
|
@@ -2829,7 +2828,7 @@ module.exports = function scrollSmooth(options) {
|
|
2829
2828
|
// DecodeURI is usded for nonASCII hashes, they was encoded,
|
2830
2829
|
// but id was not encoded, it lead to not finding the tgt element by id.
|
2831
2830
|
// -------------------------------------------------------------------------
|
2832
|
-
scrollTo: function
|
2831
|
+
scrollTo: function (target, options) {
|
2833
2832
|
var start = window.pageYOffset;
|
2834
2833
|
var opt = {
|
2835
2834
|
duration: options.duration,
|
@@ -3212,7 +3211,7 @@ module.exports = {
|
|
3212
3211
|
// Smooth scroll offset.
|
3213
3212
|
scrollSmoothOffset: 0,
|
3214
3213
|
// Callback for scroll end.
|
3215
|
-
scrollEndCallback: function
|
3214
|
+
scrollEndCallback: function (e) {},
|
3216
3215
|
// Headings offset between the headings and the top of the document (this is meant for minor adjustments).
|
3217
3216
|
headingsOffset: 1,
|
3218
3217
|
// Timeout between events firing to make sure it's
|
@@ -3233,7 +3232,7 @@ module.exports = {
|
|
3233
3232
|
// onclick function to apply to all links in toc. will be called with
|
3234
3233
|
// the event as the first parameter, and this can be used to stop,
|
3235
3234
|
// propagation, prevent default or perform action
|
3236
|
-
onClick: function
|
3235
|
+
onClick: function (e) {},
|
3237
3236
|
// orderedList can be set to false to generate unordered lists (ul)
|
3238
3237
|
// instead of ordered lists (ol)
|
3239
3238
|
orderedList: true,
|
@@ -3558,8 +3557,7 @@ function jump(target, options) {
|
|
3558
3557
|
/***/ 799:
|
3559
3558
|
/***/ (function(module, exports, __webpack_require__) {
|
3560
3559
|
|
3561
|
-
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__
|
3562
|
-
/*
|
3560
|
+
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
3563
3561
|
# -----------------------------------------------------------------------------
|
3564
3562
|
# ~/js/tocbot/tocbot.js
|
3565
3563
|
# Tocbot v4.12.0 implementation for J1 Theme
|
@@ -9788,8 +9786,8 @@ window.j1.core.scrollSmooth = __webpack_require__(814);
|
|
9788
9786
|
//const Bootstrap = require('./js/bootstrap/bootstrap.js');
|
9789
9787
|
//const J1JekyllSearch = require('./js/jekyll_search/jekyll_search.js');
|
9790
9788
|
//const J1Yaml = require('js-yaml');
|
9791
|
-
|
9792
|
-
|
9789
|
+
const J1Tocbot = __webpack_require__(799);
|
9790
|
+
const J1AttrChangeListener = __webpack_require__(610);
|
9793
9791
|
|
9794
9792
|
// const J1jQueryExt = require('./js/jquery-extensions/jquery-regex.js');
|
9795
9793
|
|
@@ -9832,7 +9830,7 @@ var J1AttrChangeListener = __webpack_require__(610);
|
|
9832
9830
|
|
9833
9831
|
// Additional Vanilla JS helpers
|
9834
9832
|
// -----------------------------------------------------------------------------
|
9835
|
-
|
9833
|
+
const J1AdocResultViewer = __webpack_require__(253);
|
9836
9834
|
// const MSIEPolyfills = require('./js/polyfills/ms-ie.js');
|
9837
9835
|
|
9838
9836
|
// HMR messages (currently NOT used)
|