j1-template 2022.1.0 → 2022.1.3
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_article_navigator.html +4 -5
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +4 -5
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +35 -19
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.0.proc +129 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.1.proc +113 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +3 -3
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +1 -5
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +29 -7
- data/_includes/themes/j1/procedures/posts/pager.proc +2 -3
- data/assets/data/authclient.html +6 -6
- data/assets/data/carousel.json +2 -2
- data/assets/data/galleries.json +17 -5
- data/assets/data/gallery_customizer.html +4 -5
- data/assets/data/j1_config.json +42 -0
- data/assets/data/panel.html +17 -0
- data/assets/data/quicklinks.html +4 -4
- data/assets/themes/j1/adapter/js/advertising.js +2 -2
- data/assets/themes/j1/adapter/js/algolia.js +5 -5
- data/assets/themes/j1/adapter/js/analytics.js +1 -1
- data/assets/themes/j1/adapter/js/asciidoctor.js +2 -2
- data/assets/themes/j1/adapter/js/attic.js +5 -5
- data/assets/themes/j1/adapter/js/bmd.js +12 -12
- data/assets/themes/j1/adapter/js/carousel.js +40 -30
- data/assets/themes/j1/adapter/js/clipboard.js +2 -2
- data/assets/themes/j1/adapter/js/comments.js +2 -2
- data/assets/themes/j1/adapter/js/cookieConsent.js +2 -2
- data/assets/themes/j1/adapter/js/customFunctions.js +2 -2
- data/assets/themes/j1/adapter/js/customModule.js +2 -2
- data/assets/themes/j1/adapter/js/dropdowns.js +2 -2
- data/assets/themes/j1/adapter/js/fab.js +4 -4
- data/assets/themes/j1/adapter/js/framer.js +2 -2
- data/assets/themes/j1/adapter/js/j1.js +9 -9
- data/assets/themes/j1/adapter/js/justifiedGallery.js +42 -30
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +126 -113
- data/assets/themes/j1/adapter/js/lightbox.js +34 -30
- data/assets/themes/j1/adapter/js/logger.js +2 -2
- data/assets/themes/j1/adapter/js/{quicksearch.js → lunr.js} +17 -19
- data/assets/themes/j1/adapter/js/mmenu.js +7 -7
- data/assets/themes/j1/adapter/js/navigator.js +5 -5
- data/assets/themes/j1/adapter/js/rangeSlider.js +96 -83
- data/assets/themes/j1/adapter/js/rouge.js +26 -22
- data/assets/themes/j1/adapter/js/rtable.js +2 -2
- data/assets/themes/j1/adapter/js/rtextResizer.js +6 -22
- data/assets/themes/j1/adapter/js/scroller.js +2 -2
- data/assets/themes/j1/adapter/js/themer.js +3 -3
- data/assets/themes/j1/adapter/js/toccer.js +5 -5
- data/assets/themes/j1/adapter/js/translator.js +2 -2
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +19 -6
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/vendor.css +2 -3
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1 -6
- data/assets/themes/j1/core/js/template.min.js +1 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.css +1315 -0
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.min.css +7 -0
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.css +886 -0
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.min.css +5 -0
- data/assets/themes/j1/modules/jquery/css/{jqueryUI/theme.css → jquery-ui/jquery-ui.theme.css} +9 -6
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.theme.min.css +5 -0
- data/assets/themes/j1/modules/jquery/js/{jqueryUI.js → jquery-ui.js} +1067 -711
- data/assets/themes/j1/modules/jquery/js/jquery-ui.min.js +6 -0
- data/assets/themes/j1/modules/jquery/js/jquery.min.map +1 -0
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.js +28 -12
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.min.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.min.js +1 -2
- data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -11
- data/assets/themes/j1/modules/{lunrSearch/css/quicksearch.css → lunr/css/j1.css} +2 -2
- data/assets/themes/j1/modules/lunr/css/j1.min.css +15 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/dateformat.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/dateformat.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch/js/quicksearch.js → lunr/js/j1.js} +11 -8
- data/assets/themes/j1/modules/{lunrSearch/js/quicksearch.min.js → lunr/js/j1.min.js} +1 -1
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.language.support.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.language.support.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/mustache.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/mustache.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/uri.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/uri.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ar.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ar.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.da.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.da.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.de.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.de.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.du.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.du.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.es.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.es.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fi.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.hu.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.hu.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.it.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.it.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ja.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ja.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.jp.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.jp.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.multi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.multi.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.nl.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.nl.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.no.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.no.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.pt.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.pt.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ro.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ro.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ru.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ru.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.sv.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.sv.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.th.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.tr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.tr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.vi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.vi.min.js +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.css +1 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +2 -374
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +15 -5
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +2 -178
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.min.css +1 -12
- data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.css +3 -1
- data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.min.css +23 -0
- data/assets/themes/j1/modules/videojs/css/video-js.css +6 -2
- data/assets/themes/j1/modules/videojs/css/video-js.min.css +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +37 -94
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +168 -0
- data/lib/starter_web/_data/blocks/banner.yml +3 -3
- data/lib/starter_web/_data/blocks/panel.yml +2 -0
- data/lib/starter_web/_data/j1_config.yml +33 -1
- data/lib/starter_web/_data/layouts/app.yml +11 -6
- data/lib/starter_web/_data/layouts/article_navigator.yml +8 -3
- data/lib/starter_web/_data/layouts/blog_archive.yml +8 -3
- data/lib/starter_web/_data/layouts/collection.yml +14 -21
- data/lib/starter_web/_data/layouts/default.yml +11 -36
- data/lib/starter_web/_data/layouts/home.yml +14 -22
- data/lib/starter_web/_data/layouts/news_panel_posts.yml +8 -3
- data/lib/starter_web/_data/layouts/page.yml +8 -14
- data/lib/starter_web/_data/layouts/post.yml +8 -3
- data/lib/starter_web/_data/layouts/raw.yml +14 -9
- data/lib/starter_web/_data/{builder → modules}/blog_navigator.yml +4 -4
- data/lib/starter_web/_data/{apps → modules}/carousel.yml +2 -2
- data/lib/starter_web/_data/{builder → modules}/defaults/blog_navigator.yml +4 -5
- data/lib/starter_web/_data/{apps → modules}/defaults/carousel.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/justifiedGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/lightGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/{quicksearch.yml → lunr.yml} +6 -15
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/justifiedGallery.yml +101 -50
- data/lib/starter_web/_data/{apps → modules}/lightGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/lightbox.yml +2 -2
- data/lib/starter_web/_data/modules/{quicksearch.yml → lunr.yml} +4 -7
- data/lib/starter_web/_data/modules/navigator_menu.yml +1 -1
- data/lib/starter_web/_data/modules/rangeSlider.yml +2 -2
- data/lib/starter_web/_data/resources.yml +73 -31
- data/lib/starter_web/_includes/attributes.asciidoc +16 -3
- data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +6 -4
- data/lib/starter_web/_plugins/filters.rb +53 -0
- data/lib/starter_web/_plugins/lunr_index.rb +14 -9
- data/lib/starter_web/assets/images/modules/attics/joanna-kosinska-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/dailymotion/meditation.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/dailymotion/pilates.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video1.mp4 +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video2.mp4 +0 -0
- data/lib/starter_web/assets/videos/gallery/vk/hai.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/vk/otter.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/battle.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/ben.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/constance.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/elisa.jpg +0 -0
- data/lib/starter_web/collections/asciidoc_skeletons/simple-post/{yyyy-mm-dd-your-post-name.adoc → _posts/yyyy-mm-dd-your-post-name.asciidoc} +26 -12
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-28-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +2 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/_blog/navigator/archive/categoryview.html +254 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive/dateview.html +238 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive/tagview.html +283 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive.html +204 -0
- data/lib/starter_web/pages/public/_blog/navigator/index.html +53 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +2 -4
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +15 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +15 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +5 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +5 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +5 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +33 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +30 -11
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +28 -11
- data/lib/starter_web/pages/public/blog/navigator/archive.html +29 -11
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +18 -23
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +100 -16
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +6 -0
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +75 -75
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +3 -4
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +13 -20
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +100 -82
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.min.css +0 -5
- data/assets/themes/j1/modules/jquery/js/jquery-3.5.1.min.map +0 -1
- data/assets/themes/j1/modules/jquery/js/jqueryUI.min.js +0 -13
- data/assets/themes/j1/modules/lunrSearch/css/quicksearch.min.css +0 -32
- data/lib/starter_web/_data/layouts/home.ads.yml +0 -262
- data/lib/starter_web/_data/layouts/home.no-ads.yml +0 -262
- data/lib/starter_web/_data/pages/builder.yml +0 -87
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +0 -265
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +0 -237
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +0 -237
@@ -1,5 +1,5 @@
|
|
1
1
|
# ------------------------------------------------------------------------------
|
2
|
-
# ~/_data/
|
2
|
+
# ~/_data/modules/justifiedGallery.yml
|
3
3
|
# User configuration for J1 Justified Gallery (jg)
|
4
4
|
#
|
5
5
|
# Product/Info:
|
@@ -62,7 +62,7 @@ settings:
|
|
62
62
|
# values: string
|
63
63
|
# default: /assets/data/galleries.json
|
64
64
|
#
|
65
|
-
enabled: true
|
65
|
+
enabled: true
|
66
66
|
xhr_data_path: /assets/data/galleries.json
|
67
67
|
instance_type: multiple
|
68
68
|
rowHeight: 170
|
@@ -219,8 +219,8 @@ settings:
|
|
219
219
|
id: jg_video_html5
|
220
220
|
show_delay: 300
|
221
221
|
title: false # HTML5 Video Gallery
|
222
|
-
|
223
|
-
video_path:
|
222
|
+
theme: city
|
223
|
+
video_path: /assets/videos/gallery/html5
|
224
224
|
image_path: /assets/videos/gallery
|
225
225
|
thumb_path: /assets/videos/gallery
|
226
226
|
videos: [
|
@@ -263,10 +263,10 @@ settings:
|
|
263
263
|
image_path: /assets/videos/gallery
|
264
264
|
thumb_path: /assets/videos/gallery
|
265
265
|
videos: [
|
266
|
-
"
|
267
|
-
"
|
268
|
-
"
|
269
|
-
"
|
266
|
+
"//youtube.com/watch?v=X5Cfi7U4eL4",
|
267
|
+
"//youtube.com/watch?v=Nck6BZga7TQ",
|
268
|
+
"//youtube.com/watch?v=F2SXmzk8ve4",
|
269
|
+
"//youtube.com/watch?v=ln3wAdRAim4"
|
270
270
|
]
|
271
271
|
captions_gallery: [
|
272
272
|
"Carpool Karaoke - Lady Gaga",
|
@@ -296,7 +296,59 @@ settings:
|
|
296
296
|
videojsOptions: {}
|
297
297
|
|
298
298
|
# --------------------------------------------------------------------------
|
299
|
-
# Online VIDEO (
|
299
|
+
# Online VIDEO 2 (YouTube)
|
300
|
+
#
|
301
|
+
- gallery:
|
302
|
+
enabled: true
|
303
|
+
type: video-online
|
304
|
+
id: jg_video_online_youtube_2
|
305
|
+
show_delay: 300
|
306
|
+
title: false # YouTube Video Gallery
|
307
|
+
css_classes:
|
308
|
+
image_path: /assets/videos/gallery/voice_kids_de_2021
|
309
|
+
thumb_path: /assets/videos/gallery/voice_kids_de_2021
|
310
|
+
videos: [
|
311
|
+
"//youtube.com/watch?v=aQqPgLMgO-I",
|
312
|
+
"//youtube.com/watch?v=Bl6tkAgaP1g",
|
313
|
+
"//youtube.com/watch?v=GuiOYCv9NTI",
|
314
|
+
"//youtube.com/watch?v=1bvE2mgJ22I"
|
315
|
+
]
|
316
|
+
player_params: [
|
317
|
+
"start: 0, end: 148",
|
318
|
+
"start: 0, end: 122",
|
319
|
+
"start: 0, end: 104",
|
320
|
+
"start: 10, end: 173"
|
321
|
+
]
|
322
|
+
|
323
|
+
captions_gallery: [
|
324
|
+
"The Voice Kids Germany 2021 - Constance",
|
325
|
+
"The Voice Kids Germany 2021 - Elisa",
|
326
|
+
"The Voice Kids Germany 2021 - Ben",
|
327
|
+
"The Voice Kids Germany 2021 - The Battle"
|
328
|
+
]
|
329
|
+
captions_lightbox: [
|
330
|
+
"<p>14-year-old Constance has dreamed of being on The Voice Kids stage for a very long time. Your dream has finally come true! She performs a breathtaking version of Sia's song Alive.</p>",
|
331
|
+
"<p>14-year-old Elisa is fascinated by the classics of pop music. Her version of Hey Jude from The Beatles comes with a lot of feeling.</p>",
|
332
|
+
"<p>14-year-old Ben pours all of his emotions into his performance of Maroon 5's Sunday Morning. He wants to show what he's made of.</p>",
|
333
|
+
"<p>The battle of the three young people is a real emotional battle. Elisa's husky voice, Constanze's unbelievable power, and Ben's rhythm come into their own in Adele's James Bond theme song Skyfall.</p>"
|
334
|
+
]
|
335
|
+
poster: [
|
336
|
+
constance.jpg, elisa.jpg,
|
337
|
+
ben.jpg, battle.jpg
|
338
|
+
]
|
339
|
+
gallery_options:
|
340
|
+
rowHeight: 200
|
341
|
+
margins: 5
|
342
|
+
|
343
|
+
lightbox_options:
|
344
|
+
lightbox: lg
|
345
|
+
# mode: lg-fade
|
346
|
+
# cssEasing: cubic-bezier(0.25, 0, 0.25, 1)
|
347
|
+
videojs: true
|
348
|
+
videojsOptions: {}
|
349
|
+
|
350
|
+
# --------------------------------------------------------------------------
|
351
|
+
# Online VIDEO 3 (Vimeo)
|
300
352
|
#
|
301
353
|
- gallery:
|
302
354
|
enabled: true
|
@@ -312,8 +364,8 @@ settings:
|
|
312
364
|
image_path: /assets/videos/gallery
|
313
365
|
thumb_path: /assets/videos/gallery
|
314
366
|
videos: [
|
315
|
-
"
|
316
|
-
"
|
367
|
+
"//vimeo.com/175582480",
|
368
|
+
"//vimeo.com/179528528"
|
317
369
|
]
|
318
370
|
captions_gallery: [
|
319
371
|
"Vogue - Adriana Lima",
|
@@ -335,33 +387,37 @@ settings:
|
|
335
387
|
lightbox: lg
|
336
388
|
|
337
389
|
# --------------------------------------------------------------------------
|
338
|
-
#
|
390
|
+
# Online VIDEO (DailyMotion)
|
339
391
|
#
|
340
392
|
- gallery:
|
341
393
|
enabled: true
|
342
|
-
type: video-
|
343
|
-
id:
|
394
|
+
type: video-online
|
395
|
+
id: jg_video_online_dailymotion
|
344
396
|
show_delay: 300
|
345
|
-
title: false #
|
397
|
+
title: false # DailyMotion Video Gallery
|
398
|
+
thumb_items: 2
|
399
|
+
thumb_spacing: 5
|
400
|
+
thumb_bordered: true
|
401
|
+
thumb_animate: true
|
346
402
|
css_classes:
|
347
|
-
|
348
|
-
|
349
|
-
thumb_path: /assets/videos/tutorials
|
403
|
+
image_path: /assets/videos/gallery/dailymotion
|
404
|
+
thumb_path: /assets/videos/gallery/dailymotion
|
350
405
|
videos: [
|
351
|
-
|
352
|
-
|
406
|
+
"//dai.ly/x887s09",
|
407
|
+
"//dai.ly/x87ycik"
|
353
408
|
]
|
409
|
+
|
354
410
|
captions_gallery: [
|
355
|
-
"
|
356
|
-
"
|
411
|
+
"Guided Meditation: Morning Energy",
|
412
|
+
"Beginner Mat Pilates: Core Workout"
|
357
413
|
]
|
358
414
|
captions_lightbox: [
|
359
|
-
"<p>
|
360
|
-
"<p>
|
415
|
+
"<p>Guided Meditation: Morning Energy</p>",
|
416
|
+
"<p>Beginner Mat Pilates: Core Workout</p>"
|
361
417
|
]
|
362
418
|
poster: [
|
363
|
-
|
364
|
-
|
419
|
+
meditation.jpg,
|
420
|
+
pilates.jpg
|
365
421
|
]
|
366
422
|
gallery_options:
|
367
423
|
rowHeight: 200
|
@@ -369,50 +425,45 @@ settings:
|
|
369
425
|
|
370
426
|
lightbox_options:
|
371
427
|
lightbox: lg
|
372
|
-
# mode: lg-fade
|
373
|
-
# cssEasing: cubic-bezier(0.25, 0, 0.25, 1)
|
374
|
-
videojs: true
|
375
|
-
videojsOptions: {}
|
376
428
|
|
377
429
|
# --------------------------------------------------------------------------
|
378
|
-
#
|
430
|
+
# Online VIDEO (VK)
|
379
431
|
#
|
380
432
|
- gallery:
|
381
433
|
enabled: true
|
382
434
|
type: video-online
|
383
|
-
id:
|
435
|
+
id: jg_video_online_vk
|
384
436
|
show_delay: 300
|
385
|
-
title: false
|
437
|
+
title: false # VK Video Gallery
|
438
|
+
thumb_items: 2
|
439
|
+
thumb_spacing: 5
|
440
|
+
thumb_bordered: true
|
441
|
+
thumb_animate: true
|
386
442
|
css_classes:
|
387
|
-
image_path: /assets/videos/
|
388
|
-
thumb_path: /assets/videos/
|
443
|
+
image_path: /assets/videos/gallery/vk
|
444
|
+
thumb_path: /assets/videos/gallery/vk
|
389
445
|
videos: [
|
390
|
-
"
|
391
|
-
"
|
392
|
-
"https://www.tiktok.com/@octaviaegon/video/6983746143356292357/",
|
446
|
+
"//vk.com/video_ext.php?oid=-114944820&id=456242413&hash=ef5be3f71500f8df",
|
447
|
+
"//vk.com/video_ext.php?oid=-114944820&id=456239717&hash=f6651448bfb14b90"
|
393
448
|
]
|
394
449
|
captions_gallery: [
|
395
|
-
|
396
|
-
|
397
|
-
"Egon - Einhorn",
|
450
|
+
"Otter plague",
|
451
|
+
"Looked at the shark's mouth (whale shark)"
|
398
452
|
]
|
399
453
|
captions_lightbox: [
|
400
|
-
"<p>
|
401
|
-
"<p>
|
402
|
-
"<p>Egon - Einhorn</p>"
|
454
|
+
"<p>Otter plague</p>",
|
455
|
+
"<p>Looked at the shark's mouth (whale shark)</p>"
|
403
456
|
]
|
404
|
-
poster: [
|
405
|
-
|
406
|
-
|
407
|
-
einhorn.jpg
|
457
|
+
poster: [
|
458
|
+
otter.jpg,
|
459
|
+
hai.jpg
|
408
460
|
]
|
409
461
|
gallery_options:
|
410
|
-
rowHeight:
|
462
|
+
rowHeight: 200
|
411
463
|
margins: 5
|
412
464
|
|
413
465
|
lightbox_options:
|
414
466
|
lightbox: lg
|
415
467
|
|
416
|
-
|
417
468
|
# ------------------------------------------------------------------------------
|
418
469
|
# END config
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------
|
2
|
-
# ~/_data/
|
3
|
-
# Default configuration for J1 Lightbox
|
2
|
+
# ~/_data/modules/lightbox.yml
|
3
|
+
# Default configuration for J1 Lightbox
|
4
4
|
#
|
5
5
|
# Product/Info:
|
6
6
|
# https://jekyll.one
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------
|
2
|
-
# ~/_data/modules/
|
3
|
-
# User configuration settings for J1
|
2
|
+
# ~/_data/modules/lunr.yml
|
3
|
+
# User configuration settings for J1 Lunr (search) module
|
4
4
|
#
|
5
5
|
# Product/Info:
|
6
6
|
# https://jekyll.one
|
@@ -16,9 +16,9 @@
|
|
16
16
|
#
|
17
17
|
description:
|
18
18
|
|
19
|
-
title: J1
|
19
|
+
title: J1 Lunr
|
20
20
|
scope: User settings
|
21
|
-
location: _data/modules/
|
21
|
+
location: _data/modules/lunr.yml
|
22
22
|
|
23
23
|
# ------------------------------------------------------------------------------
|
24
24
|
# User configuration settings
|
@@ -34,8 +34,5 @@ settings:
|
|
34
34
|
stopwords_locale: en
|
35
35
|
min_length: 3
|
36
36
|
|
37
|
-
# currently NOT supported, use pagewise exclude_from_search: true|false
|
38
|
-
# excludes: [ /pages/public/blog/*, /pages/public/skeleton/* ]
|
39
|
-
|
40
37
|
# ------------------------------------------------------------------------------
|
41
38
|
# END config
|
@@ -43,7 +43,7 @@ settings:
|
|
43
43
|
id: example_slider
|
44
44
|
|
45
45
|
options:
|
46
|
-
label:
|
46
|
+
label: "Slider 1, range: [0,100], start at: 20"
|
47
47
|
start: 20
|
48
48
|
range:
|
49
49
|
min: 0
|
@@ -57,7 +57,7 @@ settings:
|
|
57
57
|
id: example_slider_2
|
58
58
|
|
59
59
|
options:
|
60
|
-
label:
|
60
|
+
label: "Slider 2, range: [0,200], start at: 80"
|
61
61
|
start: 80
|
62
62
|
range:
|
63
63
|
min: 0
|
@@ -360,22 +360,65 @@ resources:
|
|
360
360
|
core/css/icon-fonts/mdil,
|
361
361
|
core/css/icon-fonts/fontawesome,
|
362
362
|
core/css/vendor
|
363
|
-
|
364
|
-
]
|
365
|
-
files: [
|
366
|
-
adapter/js/j1.js,
|
367
|
-
# modules/cryptoJS/js/aes.js,
|
368
|
-
# "https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/aes.js"
|
369
363
|
]
|
364
|
+
files: [ adapter/js/j1.js ]
|
370
365
|
js: [
|
371
|
-
modules/gtag-opt-in/js/gtag-opt-in,
|
372
366
|
modules/jquery/js/jquery,
|
373
|
-
modules/
|
374
|
-
modules/popper/js/popper,
|
367
|
+
modules/popper/js/popper, # required for BS
|
375
368
|
core/js/template
|
376
369
|
]
|
377
370
|
init_function: [ j1.init ]
|
378
371
|
|
372
|
+
# ----------------------------------------------------------------------------
|
373
|
+
# Google Analytics OptIn, a browser library to opt-in in Google Analytics
|
374
|
+
# See: https://github.com/luciomartinez/gtag-opt-in
|
375
|
+
#
|
376
|
+
- name: gaOptIn
|
377
|
+
resource:
|
378
|
+
enabled: true
|
379
|
+
|
380
|
+
id: ga-opt-in
|
381
|
+
comment: gaOptIn
|
382
|
+
region: head
|
383
|
+
layout: [ all ]
|
384
|
+
required: always
|
385
|
+
preload: false
|
386
|
+
script_load: defer
|
387
|
+
dependencies: false
|
388
|
+
pass_init_data: false
|
389
|
+
data:
|
390
|
+
css: []
|
391
|
+
files: []
|
392
|
+
js: [ modules/gtag-opt-in/js/gtag-opt-in ]
|
393
|
+
init_function: []
|
394
|
+
|
395
|
+
# ----------------------------------------------------------------------------
|
396
|
+
# jQueryUI, curated set of user interface interactions, effects, widgets,
|
397
|
+
# and themes built on top of jQuery
|
398
|
+
# See: https://jqueryui.com/
|
399
|
+
#
|
400
|
+
- name: jQueryUI
|
401
|
+
resource:
|
402
|
+
enabled: true
|
403
|
+
|
404
|
+
id: jquery-ui
|
405
|
+
comment: jQueryUI
|
406
|
+
region: head
|
407
|
+
layout: [ all ]
|
408
|
+
required: ondemand
|
409
|
+
preload: false
|
410
|
+
script_load: defer
|
411
|
+
dependencies: false
|
412
|
+
pass_init_data: false
|
413
|
+
data:
|
414
|
+
css: [
|
415
|
+
modules/jquery/css/jquery-ui/jquery-ui,
|
416
|
+
modules/jquery/css/jquery-ui/jquery-ui.theme
|
417
|
+
]
|
418
|
+
files: []
|
419
|
+
js: [ modules/jquery/js/jquery-ui ]
|
420
|
+
init_function: []
|
421
|
+
|
379
422
|
# ----------------------------------------------------------------------------
|
380
423
|
# J1 Logger, JS API for all logs used by J1 Template based on the
|
381
424
|
# log4j implementation for JS (log4javascript)
|
@@ -787,31 +830,30 @@ resources:
|
|
787
830
|
# of J1 Template based on the Lunr JS API
|
788
831
|
# See: https://lunrjs.com/
|
789
832
|
#
|
790
|
-
- name:
|
833
|
+
- name: Lunr
|
791
834
|
resource:
|
792
835
|
enabled: true
|
793
836
|
|
794
|
-
id:
|
795
|
-
comment: J1
|
837
|
+
id: lunr
|
838
|
+
comment: J1 Lunr
|
796
839
|
region: head
|
797
840
|
layout: [ all ]
|
798
|
-
required: always
|
799
|
-
preload: false
|
841
|
+
required: always
|
842
|
+
preload: false
|
800
843
|
script_load: defer
|
801
844
|
dependencies: false
|
802
845
|
pass_init_data: false
|
803
846
|
data:
|
804
|
-
css: [ modules/
|
805
|
-
files: [ adapter/js/
|
847
|
+
css: [ modules/lunr/css/j1 ]
|
848
|
+
files: [ adapter/js/lunr.js ]
|
806
849
|
js: [
|
807
|
-
modules/
|
808
|
-
modules/
|
809
|
-
modules/
|
810
|
-
modules/
|
811
|
-
|
812
|
-
modules/lunrSearch/js/quicksearch
|
850
|
+
modules/lunr/js/lunr,
|
851
|
+
modules/lunr/js/mustache,
|
852
|
+
modules/lunr/js/dateformat,
|
853
|
+
modules/lunr/js/uri,
|
854
|
+
modules/lunr/js/j1
|
813
855
|
]
|
814
|
-
init_function: [ j1.adapter.
|
856
|
+
init_function: [ j1.adapter.lunr.init ]
|
815
857
|
|
816
858
|
# ----------------------------------------------------------------------------
|
817
859
|
# rtextResizer (currently NOT used)
|
@@ -1004,7 +1046,7 @@ resources:
|
|
1004
1046
|
init_function: []
|
1005
1047
|
|
1006
1048
|
# ----------------------------------------------------------------------------
|
1007
|
-
# Gallery Customizer, Customizer UI for
|
1049
|
+
# Gallery Customizer, Customizer UI for JustifiedGallery
|
1008
1050
|
#
|
1009
1051
|
- name: J1 Gallery Customizer
|
1010
1052
|
resource:
|
@@ -1343,9 +1385,9 @@ resources:
|
|
1343
1385
|
id: video_js
|
1344
1386
|
comment: module videojs
|
1345
1387
|
region: head
|
1346
|
-
layout: [
|
1388
|
+
layout: [ all ]
|
1347
1389
|
required: ondemand
|
1348
|
-
preload: false
|
1390
|
+
preload: false
|
1349
1391
|
script_load: defer
|
1350
1392
|
dependencies: false
|
1351
1393
|
pass_init_data: false
|
@@ -1371,9 +1413,9 @@ resources:
|
|
1371
1413
|
id: vimeo_froogaloop
|
1372
1414
|
comment: module vimeo_froogaloop
|
1373
1415
|
region: head
|
1374
|
-
layout: [
|
1416
|
+
layout: [ all ]
|
1375
1417
|
required: ondemand
|
1376
|
-
preload: false
|
1418
|
+
preload: false
|
1377
1419
|
script_load: defer
|
1378
1420
|
dependencies: false
|
1379
1421
|
pass_init_data: false
|
@@ -1393,9 +1435,9 @@ resources:
|
|
1393
1435
|
id: vimeo_player
|
1394
1436
|
comment: module vimeo_player
|
1395
1437
|
region: head
|
1396
|
-
layout: [
|
1438
|
+
layout: [ all ]
|
1397
1439
|
required: ondemand
|
1398
|
-
preload: false
|
1440
|
+
preload: false
|
1399
1441
|
script_load: defer
|
1400
1442
|
dependencies: false
|
1401
1443
|
pass_init_data: false
|
@@ -1416,7 +1458,7 @@ resources:
|
|
1416
1458
|
id: rangeslider
|
1417
1459
|
comment: module rangeSlider
|
1418
1460
|
region: head
|
1419
|
-
layout: [
|
1461
|
+
layout: [ all ]
|
1420
1462
|
required: ondemand
|
1421
1463
|
preload: false
|
1422
1464
|
script_load: defer
|
@@ -28,6 +28,11 @@ tag::urls[]
|
|
28
28
|
:url-asciidoctor--extensions-use: https://github.com/asciidoctor/asciidoctor-extensions-lab#using-an-extension
|
29
29
|
:url-asciidoctor--extensions-manual: http://asciidoctor.org/docs/user-manual/#extensions
|
30
30
|
|
31
|
+
:url-alexa-scores--youtube: https://www.alexa.com/siteinfo/youtube.com
|
32
|
+
:url-alexa-scores--vimeo: https://www.alexa.com/siteinfo/vimeo.com
|
33
|
+
:url-alexa-scores--dailymotion: https://www.alexa.com/siteinfo/dailymotion.com
|
34
|
+
:url-alexa-scores--vk: https://www.alexa.com/siteinfo/vk.com
|
35
|
+
|
31
36
|
:url-babel-js--home: https://babeljs.io/
|
32
37
|
:url-babel-js--gh-repo: https://github.com/babel/babel/
|
33
38
|
|
@@ -109,6 +114,8 @@ tag::urls[]
|
|
109
114
|
:url-cross-env--gh-repo: https://github.com/kentcdodds/cross-env/
|
110
115
|
:url-cross-var--gh-repo: https://github.com/elijahmanor/cross-var/
|
111
116
|
|
117
|
+
:url-dailymotion--home: https://www.dailymotion.com/
|
118
|
+
|
112
119
|
:url-datatables--home: https://datatables.net/
|
113
120
|
:url-docker--home: https://getbootstrap.com/
|
114
121
|
:url-docker--docs: https://docs.docker.com/
|
@@ -289,9 +296,9 @@ tag::urls[]
|
|
289
296
|
:url-popper--gh-repo: https://github.com/popperjs/popper-core/
|
290
297
|
|
291
298
|
:url-previewer--county-flags: https://jekyll.one/pages/public/previewer/country_flags/
|
292
|
-
:url-previewer--emoji:
|
293
|
-
:url-previewer--mdi-icons:
|
294
|
-
:url-previewer--rouge-themes:
|
299
|
+
:url-previewer--emoji: https://jekyll.one/pages/public/previewer/twitter_emoji/
|
300
|
+
:url-previewer--mdi-icons: https://jekyll.one/pages/public/previewer/mdi_font/
|
301
|
+
:url-previewer--rouge-themes: https://jekyll.one/pages/public/previewer/rouge/
|
295
302
|
|
296
303
|
:url-puma--home: https://puma.io/
|
297
304
|
:url-puma--gh-repo: https://github.com/puma/puma/
|
@@ -360,6 +367,9 @@ tag::urls[]
|
|
360
367
|
:url-vimeo--home: https://vimeo.com/
|
361
368
|
:url-vimeo--privacy-policy: https://vimeo.com/privacy
|
362
369
|
|
370
|
+
:url-vivendi--home: https://www.vivendi.com/en/
|
371
|
+
:url-vk--home: https://vk.com/
|
372
|
+
|
363
373
|
:url-webpack--home: https://webpack.js.org/
|
364
374
|
:url-webpack--gh-repo: https://github.com/webpack/webpack/
|
365
375
|
|
@@ -486,6 +496,9 @@ tag::data[]
|
|
486
496
|
|
487
497
|
:data-translator--icon: "pages/tools/translator-icon.jpg, QuickLinks - Translator Icon"
|
488
498
|
|
499
|
+
:data-images-lightbox--standalone: "modules/gallery/old_times/image_02.jpg, GrandPa's 80th Birthday"
|
500
|
+
:data-images-lightbox--group: "modules/gallery/old_times/image_03.jpg, GrandPa's annual journey, modules/gallery/old_times/image_04.jpg, GrandPa's annual journey"
|
501
|
+
|
489
502
|
end::data[]
|
490
503
|
|
491
504
|
|
@@ -45,11 +45,13 @@ Asciidoctor::Extensions.register do
|
|
45
45
|
images_hash = Hash[*attrs['image_data'].split(',')]
|
46
46
|
|
47
47
|
title_html = (attrs.has_key? 'title') ? %(<div class="title">#{attrs['title']}</div>\n) : nil
|
48
|
-
role = (attrs.has_key? 'role') ? role : '
|
48
|
+
role = (attrs.has_key? 'role') ? role : ''
|
49
49
|
grouped = (attrs.has_key? 'group') ? true : false
|
50
50
|
|
51
|
+
# {attrs['role']}
|
52
|
+
|
51
53
|
if grouped
|
52
|
-
html_block.div(:class=>"content") {
|
54
|
+
html_block.div(:class=>"content #{attrs['role']}", :style=>"margin-bottom: .75rem;") {
|
53
55
|
images_hash.each do |i,d|
|
54
56
|
image = i.strip
|
55
57
|
descr = d.strip
|
@@ -59,7 +61,7 @@ Asciidoctor::Extensions.register do
|
|
59
61
|
end
|
60
62
|
}
|
61
63
|
else
|
62
|
-
html_block.div(:class=>"content") {
|
64
|
+
html_block.div(:class=>"content #{attrs['role']}", :style=>"margin-bottom: .75rem;") {
|
63
65
|
images_hash.each do |i,d|
|
64
66
|
image = i.strip
|
65
67
|
descr = d.strip
|
@@ -72,7 +74,7 @@ Asciidoctor::Extensions.register do
|
|
72
74
|
content = html_block.target! # See: https://stackoverflow.com/questions/4961609/extra-to-s-when-using-builder-to-generate-xml
|
73
75
|
|
74
76
|
html = %(
|
75
|
-
<div id="lb-#{target}" class="imageblock
|
77
|
+
<div id="lb-#{target}" class="imageblock">
|
76
78
|
#{title_html}
|
77
79
|
#{content}
|
78
80
|
</div>
|
@@ -130,6 +130,59 @@ module Jekyll
|
|
130
130
|
input.to_s.gsub(Regexp.new(regex), replacement.to_s)
|
131
131
|
end
|
132
132
|
|
133
|
+
# --------------------------------------------------------------------------
|
134
|
+
# Managing Arrays
|
135
|
+
# input - arr: returns any elements from input that are NOT in arr
|
136
|
+
# arr - input: returns any elements from arr that are not in a
|
137
|
+
# arr | input: returns the unique set from input AND arr
|
138
|
+
# arr & input: returns the intersection elements of input AND arr
|
139
|
+
# pipe (|): returns the unique set of elements for BOTH arrays
|
140
|
+
#
|
141
|
+
# Example|s:
|
142
|
+
#
|
143
|
+
# {% assign input = '1,2,3,4,5' | split: ',' %}
|
144
|
+
# {% assign arr = '1,2,3' | split: ',' %}
|
145
|
+
#
|
146
|
+
# {% assign difference = input | difference: arr %}
|
147
|
+
# {% assign union = input | union: arr %}
|
148
|
+
# {% assign intersection = input | intersection: arr %}
|
149
|
+
#
|
150
|
+
# NOTE
|
151
|
+
# See: https://stackoverflow.com/questions/5678108/how-can-i-get-the-intersection-union-and-subset-of-arrays-in-ruby
|
152
|
+
#
|
153
|
+
# --------------------------------------------------------------------------
|
154
|
+
def difference(input, arr)
|
155
|
+
if ( input.kind_of?(Array) )
|
156
|
+
input - arr
|
157
|
+
else
|
158
|
+
[]
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
# def difference_both_unique(input, arr)
|
163
|
+
# if ( input.kind_of?(Array) )
|
164
|
+
# input - arr | arr - input
|
165
|
+
# else
|
166
|
+
# []
|
167
|
+
# end
|
168
|
+
# end
|
169
|
+
|
170
|
+
def union(input, arr)
|
171
|
+
if ( input.kind_of?(Array) )
|
172
|
+
input | arr
|
173
|
+
else
|
174
|
+
[]
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
def intersection(input, arr)
|
179
|
+
if ( input.kind_of?(Array) )
|
180
|
+
input & arr
|
181
|
+
else
|
182
|
+
[]
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
133
186
|
# --------------------------------------------------------------------------
|
134
187
|
# strip_empty_lines:
|
135
188
|
#
|