j1-template 2020.0.6 → 2020.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_post.html +2 -2
  3. data/_includes/themes/j1/modules/navigator/generator.html +6 -6
  4. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +8 -3
  5. data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
  6. data/_layouts/default.html +18 -8
  7. data/{lib/starter_web/apps → apps}/public/cc/cc.yml +0 -0
  8. data/{lib/starter_web/apps → apps}/public/cc/index.adoc +0 -0
  9. data/assets/data/search.yml +32 -10
  10. data/assets/data/ssm.html +16 -12
  11. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/algolia.js +21 -13
  12. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/attic.js +31 -30
  13. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/carousel.js +31 -20
  14. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/cookie_consent.js +8 -0
  15. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/framer.js +8 -1
  16. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/gallery_customizer.js +16 -8
  17. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/j1.js +74 -103
  18. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/justified_gallery.js +50 -33
  19. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/lightbox.js +9 -1
  20. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/logger.js +12 -4
  21. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/mmenu.js +16 -8
  22. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/navigator.js +64 -76
  23. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/searcher.js +10 -2
  24. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/ssm.js +86 -68
  25. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/themer.js +10 -2
  26. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/toccer.js +51 -146
  27. data/assets/themes/j1/core/css/theme_extensions.css +562 -53
  28. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  29. data/assets/themes/j1/core/css/uno.css +640 -53
  30. data/assets/themes/j1/core/css/uno.min.css +1 -1
  31. data/assets/themes/j1/core/css/vendor.css +10 -3
  32. data/assets/themes/j1/core/css/vendor.min.css +2 -2
  33. data/assets/themes/j1/core/js/template.js +29 -19
  34. data/assets/themes/j1/core/js/template.js.map +1 -1
  35. data/assets/themes/j1/core/js/template.min.js +1 -1
  36. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.css +0 -0
  37. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.min.css +0 -0
  38. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.css +0 -0
  39. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.min.css +0 -0
  40. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.css +0 -0
  41. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.min.css +0 -0
  42. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/ajax-loader.gif +0 -0
  43. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/grabbing.png +0 -0
  44. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl-logo.png +0 -0
  45. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl.video.play.png +0 -0
  46. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.js +0 -0
  47. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.min.js +0 -0
  48. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iconify/js/iconify.min.js +0 -0
  49. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -0
  50. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -0
  51. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -0
  52. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -0
  53. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -0
  54. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -0
  55. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/index.html +0 -0
  56. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/two.html +0 -0
  57. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -0
  58. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -0
  59. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -0
  60. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/LICENSE +0 -0
  61. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/README.md +0 -0
  62. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  63. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  64. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/theme/uno.css +0 -0
  65. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  66. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  67. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  68. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/.csslintrc +0 -0
  69. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  70. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  71. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  72. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/theme/uno.css +0 -0
  73. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  74. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  75. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.css +0 -0
  76. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.min.css +0 -0
  77. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.css +0 -0
  78. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.min.css +0 -0
  79. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.js +0 -0
  80. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.min.js +0 -0
  81. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.css +0 -0
  82. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.min.css +0 -0
  83. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.css +0 -0
  84. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.min.css +0 -0
  85. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.css +0 -0
  86. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.min.css +0 -0
  87. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.eot +0 -0
  88. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.svg +0 -0
  89. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.ttf +0 -0
  90. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.woff +0 -0
  91. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/loading.gif +0 -0
  92. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/video-play.png +0 -0
  93. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/vimeo-play.png +0 -0
  94. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/youtube-play.png +0 -0
  95. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/animation-w.png +0 -0
  96. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/customize-w.png +0 -0
  97. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/dynamic-w.png +0 -0
  98. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/facebook-icon.svg +0 -0
  99. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/googleplus-icon.svg +0 -0
  100. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/html5-w.png +0 -0
  101. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/linked-in.png +0 -0
  102. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/module-w.png +0 -0
  103. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/play-button.png +0 -0
  104. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/responsive-w.png +0 -0
  105. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/thumb-w.png +0 -0
  106. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/touch-w.png +0 -0
  107. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter-icon.svg +0 -0
  108. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter.png +0 -0
  109. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/video1-w.png +0 -0
  110. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom-w.png +0 -0
  111. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom.png +0 -0
  112. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.css +0 -0
  113. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.min.css +0 -0
  114. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.js +0 -0
  115. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.min.js +0 -0
  116. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.js +0 -0
  117. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.min.js +0 -0
  118. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.js +0 -0
  119. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.min.js +0 -0
  120. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.js +0 -0
  121. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.min.js +0 -0
  122. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.js +0 -0
  123. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.min.js +0 -0
  124. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.js +0 -0
  125. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.min.js +0 -0
  126. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.js +0 -0
  127. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.min.js +0 -0
  128. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.js +0 -0
  129. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.min.js +0 -0
  130. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.js +0 -0
  131. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.min.js +0 -0
  132. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.js +0 -0
  133. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.min.js +0 -0
  134. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.js +0 -0
  135. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.min.js +0 -0
  136. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.dark/theme.css +0 -0
  137. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.light/theme.css +0 -0
  138. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.dark/theme.css +0 -0
  139. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.light/theme.css +0 -0
  140. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai/theme.css +0 -0
  141. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.dark/theme.css +0 -0
  142. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.light/theme.css +0 -0
  143. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized/theme.css +0 -0
  144. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16/theme.css +0 -0
  145. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/colorful/theme.css +0 -0
  146. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/github/theme.css +0 -0
  147. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.dark/theme.css +0 -0
  148. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.light/theme.css +0 -0
  149. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox/theme.css +0 -0
  150. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/igorpro/theme.css +0 -0
  151. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/molokai/theme.css +0 -0
  152. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai.sublime/theme.css +0 -0
  153. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai/theme.css +0 -0
  154. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/pastie/theme.css +0 -0
  155. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/thankful_eyes/theme.css +0 -0
  156. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/tulip/theme.css +0 -0
  157. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.css +0 -0
  158. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.min.css +0 -0
  159. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.css +0 -0
  160. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.min.css +0 -0
  161. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.css +0 -0
  162. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.min.css +0 -0
  163. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.css +0 -0
  164. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.min.css +0 -0
  165. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.css +0 -0
  166. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.min.css +0 -0
  167. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.js +0 -0
  168. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.min.js +0 -0
  169. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
  170. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js +0 -0
  171. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js.map +0 -0
  172. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js +0 -0
  173. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js.map +0 -0
  174. data/lib/j1/version.rb +1 -1
  175. data/lib/starter_web/Gemfile +2 -2
  176. data/lib/starter_web/_config.yml +1 -1
  177. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -3
  178. data/lib/starter_web/_data/modules/defaults/ssm.yml +3 -3
  179. data/lib/starter_web/_data/modules/defaults/toccer.yml +4 -8
  180. data/lib/starter_web/_data/modules/jekyll_search.yml +3 -2
  181. data/lib/starter_web/_data/modules/navigator_menu.yml +4 -0
  182. data/lib/starter_web/_data/modules/ssm.yml +10 -1
  183. data/lib/starter_web/_data/modules/toccer.yml +7 -12
  184. data/lib/starter_web/_data/resources.yml +3 -9
  185. data/lib/starter_web/_data/template_settings.yml +22 -2
  186. data/lib/starter_web/package.json +1 -1
  187. data/lib/starter_web/pages/public/about/about_site.adoc +3 -3
  188. data/lib/starter_web/pages/public/about/become_a_patron.adoc +9 -11
  189. data/lib/starter_web/pages/public/clear_button.adoc +121 -0
  190. data/lib/starter_web/pages/public/learn/{floating_sidebar.adoc → examples/floating_div.adoc} +27 -49
  191. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/parts.asciidoc +1 -1
  192. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +9 -4
  193. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +2 -2
  194. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_table_3_column.asciidoc +1 -1
  195. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  196. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +6 -7
  197. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +9 -5
  198. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +26 -28
  199. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +28 -31
  200. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +19 -19
  201. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
  202. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +54 -48
  203. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  204. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  205. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -41
  206. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  207. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
  208. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
  209. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  210. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  211. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  212. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  213. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  214. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  215. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  216. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  217. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
  218. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  219. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +671 -860
  220. data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/attributes.asciidoc +69 -0
  221. data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/documents/100_buttons.asciidoc +170 -0
  222. data/lib/starter_web/pages/public/previewer/mdb_preview/mdb_previewer.adoc +52 -0
  223. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  224. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
  225. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  226. data/lib/starter_web/utilsrv/package.json +1 -1
  227. metadata +163 -168
  228. data/lib/starter_web/_plugins/uglify.rb +0 -41
  229. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.css +0 -384
  230. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.min.css +0 -384
  231. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.css +0 -153
  232. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.min.css +0 -153
  233. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.js +0 -11
  234. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.min.js +0 -11
  235. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.js +0 -118
  236. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.min.js +0 -118
@@ -70,6 +70,12 @@ regenerate: true
70
70
  # Adapter generated: {{site.time}}
71
71
  # -----------------------------------------------------------------------------
72
72
  */
73
+
74
+ // -----------------------------------------------------------------------------
75
+ // ESLint shimming
76
+ // -----------------------------------------------------------------------------
77
+ /* eslint indent: "off" */
78
+ // -----------------------------------------------------------------------------
73
79
  'use strict';
74
80
 
75
81
  {% comment %} Main
@@ -143,7 +149,7 @@ j1.adapter['attic'] = (function (j1, window) {
143
149
  function {{attic_id}} (atticOptions) {
144
150
  // Fire backstretch for all slides of the header on attic_id
145
151
  if ($('#{{attic_id}}').length) {
146
- $("#{{attic_id}}").backstretch(
152
+ $('#{{attic_id}}').backstretch(
147
153
  atticOptions.slides, {
148
154
  debug: atticOptions.debug,
149
155
  spinner: atticOptions.spinner,
@@ -188,7 +194,7 @@ j1.adapter['attic'] = (function (j1, window) {
188
194
  See: https://github.com/jquery-backstretch/jquery-backstretch/issues/194
189
195
  -------------------------------------------------------------------- {% endcomment %}
190
196
  $(window).on('backstretch.after', function (e, instance, index) {
191
- logText ='add caption text'
197
+ logText ='add caption text';
192
198
  _this.setState('backstretch_after');
193
199
  logger.debug('state: ' + status);
194
200
  logger.debug(logText);
@@ -235,7 +241,7 @@ j1.adapter['attic'] = (function (j1, window) {
235
241
  {% comment %} Detect how show should run (only once|infinite loop)
236
242
  -------------------------------------------------------------------- {% endcomment %}
237
243
  {% if image_loop %}
238
- $(window).on("backstretch.before", function (e, instance, index) {
244
+ $(window).on('backstretch.before', function (e, instance, index) {
239
245
  _this.setState('backstretch_before_image_loop');
240
246
  logger.debug('state: ' + _this.getState());
241
247
  // remove class for the backstretch_intro background
@@ -244,12 +250,12 @@ j1.adapter['attic'] = (function (j1, window) {
244
250
  }
245
251
  });
246
252
  {% else %}
247
- $(window).on("backstretch.before", function (e, instance, index) {
253
+ $(window).on('backstretch.before', function (e, instance, index) {
248
254
  _this.setState('backstretch_before_image_once');
249
255
  logger.debug('state: ' + _this.getState());
250
256
  // Stop the slideshow after reached the last image
251
257
  if (index === backstretch_instance_data.images.length -1) {
252
- $("#{{attic_id}}").backstretch("pause");
258
+ $('#{{attic_id}}').backstretch('pause');
253
259
  // remove class for the backstretch_intro background
254
260
  $('.backstretch').removeClass(atticOptions.spinner);
255
261
  }
@@ -316,6 +322,7 @@ j1.adapter['attic'] = (function (j1, window) {
316
322
 
317
323
  // Create and json object for HEADER options taken from
318
324
  // header config (YAML data file)
325
+ /* eslint-disable */
319
326
  var atticOptions = {
320
327
  {% if raised_level %} "raised_level": {{ raised_level | json }}, {% endif %}
321
328
  {% if r_text %} "r_text": {{ r_text | json }}, {% endif %}
@@ -334,10 +341,10 @@ j1.adapter['attic'] = (function (j1, window) {
334
341
  {% if background_color_1 %} "background_color_1": {{ background_color_1 | json }}, {% endif %}
335
342
  {% if background_color_2 %} "background_color_2": {{ background_color_2 | json }}, {% endif %}
336
343
  }
337
-
344
+ /* eslint-enable */
338
345
  {% comment %} trans-script header|backstretch options
339
346
  ---------------------------------------------------------------- {% endcomment %}
340
- {% if type == "video" %}
347
+ {% if type == 'video' %}
341
348
  {% assign isVideo = true %}
342
349
  {% if sound %} {% assign mute = false %} {% else %} {% assign mute = true %} {% endif %}
343
350
  {% if loop %} {% assign loop = true %} {% else %} {% assign loop = true %} {% endif %}
@@ -345,6 +352,7 @@ j1.adapter['attic'] = (function (j1, window) {
345
352
 
346
353
  // Create an json object for BACKSTRETCH options taken from
347
354
  // header config (yaml data file)
355
+ /* eslint-disable */
348
356
  var atticOptions = {
349
357
  {% if spinner %} "spinner": {{ spinner | json }}, {% endif %}
350
358
  {% if opacity %} "opacity": {{ opacity | json }}, {% endif %}
@@ -366,20 +374,13 @@ j1.adapter['attic'] = (function (j1, window) {
366
374
  {% if duration %} "duration": {{ duration | json }}, {% endif %}
367
375
  }
368
376
 
369
- // Load Header DEFAULTS
377
+ // Load Attic DEFAULTS
370
378
  var attic_options = $.extend({}, {{attic_options | replace:'=>',':' }});
371
379
 
372
- // Merge|Overload Header DEFAULTS by (header) OPTIONS
380
+ // Merge|Overload Attic DEFAULTS by individual settings
373
381
  // var atticOptions = j1.mergeData(attic_options, atticOptions);
374
382
  var atticOptions = j1.mergeData(atticOptions, attic_options);
375
-
376
- // Load Backstretch DEFAULTS
377
- //var image_attic_defaults = $.extend({}, {{image_attic_defaults | replace:'=>',':' }});
378
-
379
- // Merge|Overload Backstretch DEFAULTS by (header) OPTIONS
380
- //var atticOptions = j1.mergeData(image_attic_defaults, atticOptions);
381
-
382
-
383
+ /* eslint-enable */
383
384
  {% else %}
384
385
  {% continue %}
385
386
  {% endif %} // ENDIF attic_id
@@ -447,12 +448,12 @@ j1.adapter['attic'] = (function (j1, window) {
447
448
  -------------------------------------------------------------------- {% endcomment %}
448
449
  if (atticOptions.r_text == 'enabled') { $('#{{attic_id}}').addClass('r-text'); }
449
450
 
450
- var raised_level = "raised-z" +atticOptions.raised_level;
451
+ var raised_level = 'raised-z' +atticOptions.raised_level;
451
452
  $('#{{attic_id}}').addClass(raised_level);
452
453
  $('#head-title').addClass(atticOptions.title_animate);
453
454
  $('#head-tagline').addClass(atticOptions.tagline_animate);
454
455
 
455
- var text_emphasis = "text-emphasis-" +atticOptions.text_emphasis;
456
+ var text_emphasis = 'text-emphasis-' +atticOptions.text_emphasis;
456
457
  $('#head-title-text').addClass(text_emphasis);
457
458
  $('#head-tagline-text').addClass(text_emphasis);
458
459
 
@@ -461,22 +462,22 @@ j1.adapter['attic'] = (function (j1, window) {
461
462
  var attic_style = '';
462
463
 
463
464
  // Initialze header background gradient
464
- attic_style += "<style> .attic { ";
465
- attic_style += "background-image: -webkit-gradient(linear, left top, left bottom, from(" +atticOptions.background_color_1+ "), to(" +atticOptions.background_color_2+ "));";
466
- attic_style += "background-image: -webkit-linear-gradient(top, " +atticOptions.background_color_1+ " 0%, " +atticOptions.background_color_2+ " 100%);";
467
- attic_style += "background-image: -o-linear-gradient(top, " +atticOptions.background_color_1+ " 0%, " +atticOptions.background_color_2+ " 100%);";
468
- attic_style += "background-image: linear-gradient(to bottom, " +atticOptions.background_color_1+ " 0%, " +atticOptions.background_color_2+ " 100%);";
469
- attic_style += 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' +atticOptions.background_color_1+ '", endColorstr="' +atticOptions.background_color_2+ '", GradientType=0); ';
470
- attic_style += "} </style>";
465
+ attic_style += '<style> .attic { ';
466
+ attic_style += 'background-image: -webkit-gradient(linear, left top, left bottom, from(' +atticOptions.background_color_1+ '), to(' +atticOptions.background_color_2+ '));';
467
+ attic_style += 'background-image: -webkit-linear-gradient(top, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%);';
468
+ attic_style += 'background-image: -o-linear-gradient(top, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%);';
469
+ attic_style += 'background-image: linear-gradient(to bottom, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%);';
470
+ attic_style += 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' +atticOptions.background_color_1+ '", endColorstr="' +atticOptions.background_color_2+ '", GradientType=0);';
471
+ attic_style += '} </style>';
471
472
  $('head').append(attic_style);
472
473
 
473
474
  // Initialze header sizes
474
475
  attic_style = '';
476
+ attic_style = '<style> .attic { padding-top: ' +atticOptions.padding_top+ 'px; padding-bottom: ' +atticOptions.padding_bottom+ 'px; margin-bottom: ' +atticOptions.margin_bottom+ 'px; text-shadow: 0 1px 0 rgba(0,0,0,.1); </style>';
475
477
 
476
- attic_style = "<style> .attic { padding-top:" +atticOptions.padding_top+ "px; padding-bottom: " +atticOptions.padding_bottom+ "px; margin-bottom: " +atticOptions.margin_bottom+ "px; text-shadow: 0 1px 0 rgba(0,0,0,.1); </style>"
477
478
  $('head').append(attic_style);
478
- $('head').append("<style> .attic .head-title h2 { color: " +atticOptions.title_color+ ";font-size: " +atticOptions.title_size+ " !important; text-align: " +atticOptions.title_align+ ";} </style>");
479
- $('head').append("<style> .attic .head-tagline h3 { color: " +atticOptions.tagline_color+ ";font-size: " +atticOptions.tagline_size+ " !important; text-align: " +atticOptions.tagline_align+ "; } </style>");
479
+ $('head').append('<style> .attic .head-title h2 { color: ' +atticOptions.title_color+ ';font-size: ' +atticOptions.title_size+ ' !important; text-align: ' +atticOptions.title_align+ ';} </style>');
480
+ $('head').append('<style> .attic .head-tagline h3 { color: ' +atticOptions.tagline_color+ ';font-size: ' +atticOptions.tagline_size+ ' !important; text-align: ' +atticOptions.tagline_align+ '; } </style>');
480
481
 
481
482
  // Add opacity to all header images
482
483
  // See: https://tympanus.net/codrops/2013/11/07/css-overlay-techniques/
@@ -495,7 +496,7 @@ j1.adapter['attic'] = (function (j1, window) {
495
496
  $(function() {
496
497
  // logger.debug('Load image header on: ' + {{attic_id}});
497
498
  logger.debug('Load image header');
498
- {{attic_id}}(atticOptions)
499
+ {{attic_id}}(atticOptions);
499
500
  _this.setState('completed');
500
501
  logger.info('state: ' + _this.getState());
501
502
  });
@@ -64,6 +64,12 @@ regenerate: true
64
64
  # Adapter generated: {{site.time}}
65
65
  # -----------------------------------------------------------------------------
66
66
  */
67
+
68
+ // -----------------------------------------------------------------------------
69
+ // ESLint shimming
70
+ // -----------------------------------------------------------------------------
71
+ /* eslint indent: "off" */
72
+ // -----------------------------------------------------------------------------
67
73
  'use strict';
68
74
 
69
75
  {% comment %} Main
@@ -102,7 +108,9 @@ j1.adapter['carousel'] = (function (j1, window) {
102
108
  {% comment %} Load module config from yml data
103
109
  -------------------------------------------------------------------------- {% endcomment %}
104
110
  // Load module DEFAULTS|CONFIG
111
+ /* eslint-disable */
105
112
  moduleOptions = $.extend({}, {{carousel_options | replace: '=>', ':' | replace: 'nil', '""'}});
113
+ /* eslint-enable */
106
114
 
107
115
  if (typeof settings !== 'undefined') {
108
116
  moduleOptions = j1.mergeData(moduleOptions, settings);
@@ -141,7 +149,7 @@ j1.adapter['carousel'] = (function (j1, window) {
141
149
  {% if item.show.slide_height != null %}
142
150
  // Set slide_height: {{item.show.slide_height}}vh
143
151
  {% assign slide_height = item.show.slide_height %}
144
- $('head').append("<style>.owl-carousel .item{height: {{slide_height}}vh;}</style>");
152
+ $('head').append('<style>.owl-carousel .item{height: {{slide_height}}vh;}</style>');
145
153
  {% endif %}
146
154
 
147
155
  {% if item.show.slide_space_between %}
@@ -173,12 +181,13 @@ j1.adapter['carousel'] = (function (j1, window) {
173
181
  $('head').append('<style>.parallax-slider__owl_demo_text_carousel_parallax:after{top:0;left:0;width:100%;height:100%;content:" ";position:absolute;background:rgba(0,0,0,0.3)}</style>');
174
182
  {% endif %}
175
183
 
176
- $('head').append("<style>.{{slider_id}}-item{margin: {{slide_space}}px;}</style>");
184
+ $('head').append('<style>.{{slider_id}}-item{margin: {{slide_space}}px;}</style>');
177
185
  //$('.{{slider_id}}-item').parent().addClass('owl-carousel');
178
186
  //$('.owl-carousel .item').css('margin','{{slide_space}}px');
179
187
 
180
188
  // Initialize individual show parameters
181
- $("#{{slider_id}}").owlCarousel({
189
+ /* eslint-disable */
190
+ $('#{{slider_id}}').owlCarousel({
182
191
  {% for option in item.show.options %}
183
192
  {{option[0] | json}}: {{option[1] | json}},
184
193
  {% endfor %}
@@ -189,29 +198,31 @@ j1.adapter['carousel'] = (function (j1, window) {
189
198
  "jsonPath": {{carousel_options.xhr_data_path | json}},
190
199
  "jsonSuccess": customDataSuccess_{{forloop.index}}
191
200
  });
201
+ /* eslint-enable */
202
+
192
203
  // Initialize instance variable (for later access)
193
204
  //{{slider_id}} = $('#{{slider_id}}').data('owlCarousel');
194
205
 
195
- j1["{{slider_id}}"] = $('#{{slider_id}}').data('owlCarousel');
206
+ j1['{{slider_id}}'] = $('#{{slider_id}}').data('owlCarousel');
196
207
 
197
208
  // jQuery show data functions
198
209
  function customDataSuccess_{{forloop.index}}(data){
199
- var content = "";
200
- for (var i in data["{{slider_id}}"]) {
210
+ var content = '';
211
+ for (var i in data['{{slider_id}}']) {
201
212
  {% if slider_type == 'image' %}
202
- var lb = data["{{slider_id}}"][i].lb;
203
- var lb_caption = data["{{slider_id}}"][i].lb_caption;
204
- var img = data["{{slider_id}}"][i].img;
205
- var alt = data["{{slider_id}}"][i].alt;
213
+ var lb = data['{{slider_id}}'][i].lb;
214
+ var lb_caption = data['{{slider_id}}'][i].lb_caption;
215
+ var img = data['{{slider_id}}'][i].img;
216
+ var alt = data['{{slider_id}}'][i].alt;
206
217
  {% endif %}
207
218
  {% if slider_type == 'text' %}
208
- var text = data["{{slider_id}}"][i].text;
219
+ var text = data['{{slider_id}}'][i].text;
209
220
  {% endif %}
210
- var href = data["{{slider_id}}"][i].href;
221
+ var href = data['{{slider_id}}'][i].href;
211
222
  {% if css_classes %}
212
- var css_classes = 'class="{{css_classes}}";'
223
+ var css_classes = 'class="{{css_classes}}";';
213
224
  {% else %}
214
- var css_classes = ''
225
+ var css_classes = '';
215
226
  {% endif %}
216
227
 
217
228
  {% if slider_type == 'image' %}
@@ -229,24 +240,24 @@ j1.adapter['carousel'] = (function (j1, window) {
229
240
  }
230
241
  content += '\t\t' + '</div>' + '\n';
231
242
  } else {
232
- content += '<a class="item" href="' +img+ '" ' + 'data-lightbox="{{slider_id}}"> <img class="lazyOwl" data-src="' +img+ '" alt="' +alt+ '">' + '</a>'
243
+ content += '<a class="item" href="' +img+ '" ' + 'data-lightbox="{{slider_id}}"> <img class="lazyOwl" data-src="' +img+ '" alt="' +alt+ '">' + '</a>';
233
244
  }
234
245
  } else if (href) {
235
- content += '<div class="item">' + '<img ' +css_classes+ ' src="' +img+ '" alt="' +alt+ '">' + '</div>'
246
+ content += '<div class="item">' + '<img ' +css_classes+ ' src="' +img+ '" alt="' +alt+ '">' + '</div>';
236
247
  } else {
237
- content += '<div class="item">' + '<img ' +css_classes+ ' src="' +img+ '" alt="' +alt+ '">' + '</div>'
248
+ content += '<div class="item">' + '<img ' +css_classes+ ' src="' +img+ '" alt="' +alt+ '">' + '</div>';
238
249
  }
239
250
  {% endif %}
240
251
 
241
252
  {% if slider_type == 'text' %}
242
253
  if (href) {
243
- content += '<div class="item">' + '<p href=' +href+ '">' +text+ '</p>' + '</div>'
254
+ content += '<div class="item">' + '<p href=' +href+ '">' +text+ '</p>' + '</div>';
244
255
  } else {
245
- content += '<div class="item">' + '<p>' +text+ '</p>' + '</div>'
256
+ content += '<div class="item">' + '<p>' +text+ '</p>' + '</div>';
246
257
  }
247
258
  {% endif %}
248
259
  }
249
- $("#{{slider_id}}").html(content);
260
+ $('#{{slider_id}}').html(content);
250
261
  logText = 'initializing slider finished on id: {{slider_id}}';
251
262
  logger.info(logText);
252
263
  } // END customDataSuccess_{{forloop.index}}
@@ -66,6 +66,12 @@ regenerate: false
66
66
  # Adapter generated: {{site.time}}
67
67
  # -----------------------------------------------------------------------------
68
68
  */
69
+
70
+ // -----------------------------------------------------------------------------
71
+ // ESLint shimming
72
+ // -----------------------------------------------------------------------------
73
+ /* eslint indent: "off" */
74
+ // -----------------------------------------------------------------------------
69
75
  'use strict';
70
76
 
71
77
  j1.adapter['cookie_consent'] = (function (j1, window) {
@@ -126,7 +132,9 @@ j1.adapter['cookie_consent'] = (function (j1, window) {
126
132
  // -----------------------------------------------------------------------
127
133
  // options loader
128
134
  // -----------------------------------------------------------------------
135
+ /* eslint-disable */
129
136
  moduleOptions = $.extend({}, {{consent_options | replace: '=>', ':' | replace: 'nil', '""'}});
137
+ /* eslint-enable */
130
138
 
131
139
  if (typeof options !== 'undefined') {
132
140
  moduleOptions = j1.mergeData(moduleOptions, settings);
@@ -71,6 +71,12 @@ regenerate: false
71
71
  # Adapter generated: {{site.time}}
72
72
  # -----------------------------------------------------------------------------
73
73
  */
74
+
75
+ // -----------------------------------------------------------------------------
76
+ // ESLint shimming
77
+ // -----------------------------------------------------------------------------
78
+ /* eslint indent: "off" */
79
+ // -----------------------------------------------------------------------------
74
80
  'use strict';
75
81
 
76
82
  {% comment %} Main
@@ -112,8 +118,9 @@ j1.adapter['framer'] = (function (j1, window) {
112
118
  {% comment %} Load module config from yml data
113
119
  -------------------------------------------------------------------------- {% endcomment %}
114
120
  // Load module DEFAULTS|CONFIG
115
- //
121
+ /* eslint-disable */
116
122
  moduleOptions = $.extend({}, {{framer_options | replace: '=>', ':' | replace: 'nil', '""'}});
123
+ /* eslint-enable */
117
124
 
118
125
  if (typeof settings !== 'undefined') {
119
126
  moduleOptions = j1.mergeData(moduleOptions, settings);
@@ -86,6 +86,12 @@ regenerate: false
86
86
  # Adapter generated: {{site.time}}
87
87
  # -----------------------------------------------------------------------------
88
88
  */
89
+
90
+ // -----------------------------------------------------------------------------
91
+ // ESLint shimming
92
+ // -----------------------------------------------------------------------------
93
+ /* eslint indent: "off" */
94
+ // -----------------------------------------------------------------------------
89
95
  'use strict';
90
96
 
91
97
  {% comment %} Main
@@ -108,7 +114,7 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
108
114
  // See: https://stackoverflow.com/questions/359788/how-to-execute-a-javascript-function-when-i-have-its-name-as-a-string
109
115
  //
110
116
  var args = Array.prototype.slice.call(arguments, 2);
111
- var namespaces = functionName.split(".");
117
+ var namespaces = functionName.split('.');
112
118
  var func = namespaces.pop();
113
119
  for(var i = 0; i < namespaces.length; i++) {
114
120
  context = context[namespaces[i]];
@@ -138,8 +144,10 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
138
144
 
139
145
  {% comment %} Load gallery config from yml data
140
146
  -------------------------------------------------------------------------- {% endcomment %}
147
+ /* eslint-disable */
141
148
  galleryOptions = $.extend({}, {{gallery_options | replace: '=>', ':' | replace: 'nil', '""'}});
142
149
  customizerOptions = $.extend({}, {{customizer_options | replace: '=>', ':' | replace: 'nil', '""'}});
150
+ /* eslint-enable */
143
151
 
144
152
  {% comment %} Set global variables
145
153
  -------------------------------------------------------------------------- {% endcomment %}
@@ -186,7 +194,7 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
186
194
  if ($formId.length) {
187
195
  var timerid;
188
196
 
189
- $("input[name='rowHeight']").on('input', function (e) {
197
+ $('input[name="rowHeight"]').on('input', function (e) {
190
198
  var value = $(this).val();
191
199
 
192
200
  if (value < imageHeightMin) { return false; }
@@ -272,7 +280,7 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
272
280
  });
273
281
 
274
282
  $('input:checkbox[name="random"]').on('click', function (e) {
275
- var value = $(this).is(":checked");
283
+ var value = $(this).is(':checked');
276
284
 
277
285
  $instance.justifiedGallery({randomize: value});
278
286
  if(environment === 'development') {
@@ -300,7 +308,7 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
300
308
  });
301
309
 
302
310
  $('input:checkbox[name="hide_last_row"]').on('click', function (e) {
303
- var value = $(this).is(":checked");
311
+ var value = $(this).is(':checked');
304
312
 
305
313
  if (value == true) {
306
314
  value = 'hide';
@@ -322,10 +330,10 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
322
330
  $('#rowHeightMax').val(customizerOptions.gallery_settings.maxRowHeight);
323
331
  $('#margins').val(customizerOptions.gallery_settings.margins);
324
332
  $('#border').val(customizerOptions.gallery_settings.border);
325
- $('input:checkbox[name="captions"]').val("on").filter('[value="on"]').prop('checked', customizerOptions.gallery_settings.captions);
326
- $('input:checkbox[name="random"]').val("off").filter('[value="off"]').prop('checked', customizerOptions.gallery_settings.randomize);
327
- $('input:checkbox[name="justify_last_row"]').val("on").filter('[value="on"]').prop('checked', customizerOptions.gallery_settings.justifyLastRow);
328
- $('input:checkbox[name="hide_last_row"]').val("off").filter('[value="off"]').prop('checked', customizerOptions.gallery_settings.hideLastRow);
333
+ $('input:checkbox[name="captions"]').val('on').filter('[value="on"]').prop('checked', customizerOptions.gallery_settings.captions);
334
+ $('input:checkbox[name="random"]').val('off').filter('[value="off"]').prop('checked', customizerOptions.gallery_settings.randomize);
335
+ $('input:checkbox[name="justify_last_row"]').val('on').filter('[value="on"]').prop('checked', customizerOptions.gallery_settings.justifyLastRow);
336
+ $('input:checkbox[name="hide_last_row"]').val('off').filter('[value="off"]').prop('checked', customizerOptions.gallery_settings.hideLastRow);
329
337
 
330
338
  $instance.justifiedGallery({
331
339
  rowHeight: customizerOptions.gallery_settings.rowHeight,
@@ -96,6 +96,12 @@ regenerate: true
96
96
  # Adapter generated: {{site.time}}
97
97
  # -----------------------------------------------------------------------------
98
98
  */
99
+
100
+ // -----------------------------------------------------------------------------
101
+ // ESLint shimming
102
+ // -----------------------------------------------------------------------------
103
+ /* eslint indent: "off" */
104
+ // -----------------------------------------------------------------------------
99
105
  'use strict';
100
106
 
101
107
  var j1 = (function () {
@@ -121,7 +127,7 @@ var j1 = (function () {
121
127
  var user_session_detected;
122
128
 
123
129
  // Connector settings
124
- var translation_enabled = {{template_config.translation.enabled}}
130
+ var translation_enabled = {{template_config.translation.enabled}};
125
131
 
126
132
  // Theme information
127
133
  var themeName;
@@ -155,7 +161,7 @@ var j1 = (function () {
155
161
  'app_session': '{{template_config.cookies.app_session}}',
156
162
  'user_session': '{{template_config.cookies.user_session}}',
157
163
  'user_state': '{{template_config.cookies.user_state}}'
158
- }
164
+ };
159
165
 
160
166
  // user SESSION cookie (initial values)
161
167
  var user_session = {
@@ -202,7 +208,7 @@ var j1 = (function () {
202
208
  // See: https://stackoverflow.com/questions/359788/how-to-execute-a-javascript-function-when-i-have-its-name-as-a-string
203
209
  //
204
210
  var args = Array.prototype.slice.call(arguments, 2);
205
- var namespaces = functionName.split(".");
211
+ var namespaces = functionName.split('.');
206
212
  var func = namespaces.pop();
207
213
  for(var i = 0; i < namespaces.length; i++) {
208
214
  context = context[namespaces[i]];
@@ -224,7 +230,7 @@ var j1 = (function () {
224
230
  // global var (function)
225
231
  // -----------------------------------------------------------------------
226
232
  var logger = log4javascript.getLogger('j1.init');
227
- var url = new parseURL(window.location.href)
233
+ var url = new parseURL(window.location.href);
228
234
  var baseUrl = url.origin;
229
235
  var epoch = Math.floor(Date.now()/1000);
230
236
  var timestamp_now = moment.unix(epoch).format('YYYY-MM-DD HH:mm:ss');
@@ -289,19 +295,11 @@ var j1 = (function () {
289
295
  user_state.session_active = false;
290
296
  user_state.last_session_ts = timestamp_now;
291
297
 
292
- // DANGEROUS (??): delete user session in browser using MULTI_TAB!
293
- // if (j1.existsCookie(cookie_names.user_session)) {
294
- // var bla = cookie_names.user_session;
295
- // j1.deleteCookie(cookie_names.user_session)
296
- // }
297
-
298
298
  j1.writeCookie({
299
299
  name: cookie_user_state_name,
300
300
  data: user_state,
301
301
  expires: 365
302
302
  });
303
-
304
-
305
303
  });
306
304
 
307
305
  // -----------------------------------------------------------------------
@@ -420,8 +418,8 @@ var j1 = (function () {
420
418
  var logger = log4javascript.getLogger('j1.init');
421
419
 
422
420
  if ( settings.scrollbar === 'false' ) {
423
- $('body').addClass( 'hide-scrollbar' )
424
- $('html').addClass( 'hide-scrollbar-moz' )
421
+ $('body').addClass('hide-scrollbar');
422
+ $('html').addClass('hide-scrollbar-moz');
425
423
  }
426
424
 
427
425
  logger.info('read user state from cookie');
@@ -529,6 +527,11 @@ var j1 = (function () {
529
527
  logger.error(logText);
530
528
  });
531
529
 
530
+ // -----------------------------------------------------------------------
531
+ // additional BS helpers from j1.core
532
+ // -----------------------------------------------------------------------
533
+ j1.core.bsFormClearButton();
534
+
532
535
  }, // END init
533
536
 
534
537
  // -------------------------------------------------------------------------
@@ -596,13 +599,13 @@ var j1 = (function () {
596
599
  {% if background_color_1 and background_color_2 %}
597
600
  var banner_backround_style = '';
598
601
  // Initialze banner background gradient/colors
599
- banner_backround_style += "<style> .{{id}}-background { ";
600
- banner_backround_style += "background-image: -webkit-gradient(linear, left top, left bottom, from( " +j1.setColorData('{{background_color_1}}')+ " ), to( " +j1.setColorData('{{background_color_2}}')+ " ));";
601
- banner_backround_style += "background-image: -webkit-linear-gradient(top, " +j1.setColorData('{{background_color_1}}')+ " 0%, " +j1.setColorData('{{background_color_2}}')+ " 100%);";
602
- banner_backround_style += "background-image: -o-linear-gradient(top, " +j1.setColorData('{{background_color_1}}')+ " 0%, " +j1.setColorData('{{background_color_2}}')+ " 100%);";
603
- banner_backround_style += "background-image: linear-gradient(to bottom, " +j1.setColorData('{{background_color_1}}')+ " 0%, " +j1.setColorData('{{background_color_2}}')+ " 100%);";
604
- banner_backround_style += 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' +j1.setColorData('{{background_color_1}}')+ '", endColorstr="' +j1.setColorData('{{background_color_2}}')+ '", GradientType=0); ';
605
- banner_backround_style += "} </style>";
602
+ banner_backround_style += '<style> .{{id}}-background { ';
603
+ banner_backround_style += 'background-image: -webkit-gradient(linear, left top, left bottom, from( ' +j1.setColorData('{{background_color_1}}')+ ' ), to( ' +j1.setColorData('{{background_color_2}}')+ ' ));';
604
+ banner_backround_style += 'background-image: -webkit-linear-gradient(top, ' +j1.setColorData('{{background_color_1}}')+ ' 0%, ' +j1.setColorData('{{background_color_2}}')+ ' 100%);';
605
+ banner_backround_style += 'background-image: -o-linear-gradient(top, ' +j1.setColorData('{{background_color_1}}')+ ' 0%, ' +j1.setColorData('{{background_color_2}}')+ ' 100%);';
606
+ banner_backround_style += 'background-image: linear-gradient(to bottom, ' +j1.setColorData('{{background_color_1}}')+' 0%, ' +j1.setColorData('{{background_color_2}}')+ ' 100%);';
607
+ banner_backround_style += 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' +j1.setColorData('{{background_color_1}}')+ '", endColorstr="' +j1.setColorData('{{background_color_2}}')+ '", GradientType=0);';
608
+ banner_backround_style += '} </style>';
606
609
  $('head').append( banner_backround_style );
607
610
  {% endif %}
608
611
 
@@ -723,7 +726,7 @@ var j1 = (function () {
723
726
 
724
727
  if ( panel.length ) {
725
728
  for (var i in panel) {
726
- var id = "#" + panel[i];
729
+ var id = '#' + panel[i];
727
730
  var selector = $(id);
728
731
  if ( selector.length ) {
729
732
  logText = 'loading panel on id: ' +panel[i];
@@ -759,7 +762,7 @@ var j1 = (function () {
759
762
 
760
763
  state = 'footer_loaded';
761
764
  logger.info('set state for module ' + mod + ': ' + state);
762
- executeFunctionByName(mod + '.setState', window, state)
765
+ executeFunctionByName(mod + '.setState', window, state);
763
766
 
764
767
  logText = 'initialization finished';
765
768
  logger.info(logText);
@@ -850,14 +853,14 @@ var j1 = (function () {
850
853
  // -------------------------------------------------------------------------
851
854
  // NOTE:
852
855
  // jadams, 2019-08-21: for unknown reason, the user state data
853
- // (read from cookie) seems not coorect (or loaded too late).
856
+ // (read from cookie) seems not correct (or loaded too late).
854
857
  // To make correct data sure for APP mode, a status request is done
855
858
  // to load the current state from the middleware (skipped in WEB mode)
856
859
  // -------------------------------------------------------------------------
857
860
  displayPage: function (options) {
858
861
  var logger = log4javascript.getLogger('j1.displayPage');
859
862
  var flickerTimeout = {{template_config.flicker_timeout}};
860
- var url = new parseURL(window.location.href)
863
+ var url = new parseURL(window.location.href);
861
864
  var baseUrl = url.origin;
862
865
  var ep_status = baseUrl + '/status' + '?page=' + window.location.pathname;
863
866
  var user_session = j1.readCookie(cookie_names.user_session);
@@ -942,13 +945,13 @@ var j1 = (function () {
942
945
  if (user_session.authenticated === 'true') {
943
946
  // set signout
944
947
  logger.info('show signout icon');
945
- $('#navLinkSignInOut').attr("data-target","#modalOmniSignOut");
946
- $('#iconSignInOut').removeClass( "mdi-login" ).addClass( "mdi-logout" );
948
+ $('#navLinkSignInOut').attr('data-target','#modalOmniSignOut');
949
+ $('#iconSignInOut').removeClass('mdi-login').addClass('mdi-logout');
947
950
  } else {
948
951
  // set signin
949
952
  logger.info('show signin icon');
950
- $('#navLinkSignInOut').attr("data-target","#modalOmniSignIn");
951
- $('#iconSignInOut').removeClass( "mdi-logout" ).addClass( "mdi-login" );
953
+ $('#navLinkSignInOut').attr('data-target','#modalOmniSignIn');
954
+ $('#iconSignInOut').removeClass('mdi-logout').addClass('mdi-login');
952
955
  }
953
956
  logger.info('authentication detected as: ' + user_session.authenticated);
954
957
  $('#quickLinksSignInOutButton').css('display', 'block');
@@ -1115,11 +1118,11 @@ var j1 = (function () {
1115
1118
  // TOCCER module
1116
1119
  // -------------------------------------------------------------------------
1117
1120
  scrollTo: function () {
1118
- var anchor = window.location.href.split("#")[1];
1121
+ var anchor = window.location.href.split('#')[1];
1119
1122
  var anchor_id = '#' + anchor;
1120
1123
  var selector;
1121
1124
 
1122
- if (anchor_id) {
1125
+ if (anchor && anchor_id) {
1123
1126
  // scroll only, if an anchor is given with URL
1124
1127
  selector = $(anchor_id);
1125
1128
  if (selector.length) {
@@ -1130,7 +1133,9 @@ var j1 = (function () {
1130
1133
  });
1131
1134
  } else {
1132
1135
  // scroll the page one pixel back and forth (trigger)
1133
- // to get the right position for the Toccer
1136
+ // to get the right position for the Toccer and adjust the
1137
+ // Navigator to display the (tranparent) navbar correctly
1138
+ //
1134
1139
  $(window).scrollTop($(window).scrollTop()+1);
1135
1140
  $(window).scrollTop($(window).scrollTop()-1);
1136
1141
  } // END if anchor_id
@@ -1142,8 +1147,8 @@ var j1 = (function () {
1142
1147
  // Returns the state of the authentication module
1143
1148
  // -------------------------------------------------------------------------
1144
1149
  authEnabled: function () {
1145
- var logger = log4javascript.getLogger('j1.authentication');
1146
- var authEnabled = {{authentication_options.j1_auth.enabled}}
1150
+ var logger = log4javascript.getLogger('j1.authentication');
1151
+ var authEnabled = {{authentication_options.j1_auth.enabled}};
1147
1152
 
1148
1153
  return authEnabled;
1149
1154
  }, // END authEnabled
@@ -1197,20 +1202,20 @@ var j1 = (function () {
1197
1202
  };
1198
1203
  };
1199
1204
 
1200
- var id = "#" + options.xhr_container_id;
1205
+ var id = '#' + options.xhr_container_id;
1201
1206
  var selector = $(id);
1202
1207
 
1203
1208
  if ( selector.length ) {
1204
- var modal_html_data_path = options.xhr_data_path + " > *";
1209
+ var modal_html_data_path = options.xhr_data_path + ' > *';
1205
1210
  selector.load( modal_html_data_path, cb_load_closure( mod, id ) );
1206
1211
  return true;
1207
1212
  } else {
1208
- logText = "data not loaded"
1213
+ logText = 'data not loaded';
1209
1214
  logger.warn(logText);
1210
1215
  // Set processing state to 'finished' to complete module load
1211
1216
  state = 'finished';
1212
1217
  logger.info('state: ' + state);
1213
- executeFunctionByName(mod + '.setState', window, state)
1218
+ executeFunctionByName(mod + '.setState', window, state);
1214
1219
  return false;
1215
1220
  }
1216
1221
  }, // END xhrData
@@ -1243,37 +1248,6 @@ var j1 = (function () {
1243
1248
 
1244
1249
  }, // END xhrApi
1245
1250
 
1246
- // -------------------------------------------------------------------------
1247
- // fetchAPI: Fetch (Promise) based async request
1248
- // Returns the current git state collected from /git endpoint
1249
- // -------------------------------------------------------------------------
1250
- fetchAPI: function (params, cbData) {
1251
- var logger = log4javascript.getLogger('j1.fetchAPI');
1252
- var cbData = cbData;
1253
- var parameters = params == '' ? 'all' : params;
1254
- var url = 'http://localhost:41001/gut';
1255
-
1256
- async function callAPI() {
1257
- const URL = url;
1258
- const fetchResult = fetch(URL)
1259
- const response = await fetchResult;
1260
-
1261
- if (response.ok) {
1262
- const jsonData = await response.json();
1263
- json_data = JSON.stringify(jsonData, undefined, 2);
1264
- logText = 'response from fetch received: ' + json_data;
1265
- logger.info(logText);
1266
- //console.log(jsonData);
1267
- } else {
1268
- throw Error(response.statusText);
1269
- // logger.error("Fetch request failed: " + response.statusText);
1270
- }
1271
- }
1272
- callAPI();
1273
-
1274
- return true;
1275
- }, // END fetchAPI
1276
-
1277
1251
  // -------------------------------------------------------------------------
1278
1252
  // getRuntimeData: Returns the j1_runtime data object
1279
1253
  //
@@ -1296,7 +1270,7 @@ var j1 = (function () {
1296
1270
  logger.warn(logText);
1297
1271
  state = 'runtime_data_loaded_failed';
1298
1272
  logger.info('state: ' + state);
1299
- executeFunctionByName('j1.setState', window, state)
1273
+ executeFunctionByName('j1.setState', window, state);
1300
1274
  return false;
1301
1275
  }
1302
1276
  });
@@ -1314,7 +1288,7 @@ var j1 = (function () {
1314
1288
  return $.ajax({
1315
1289
  url: data_path,
1316
1290
  success: function (data) {
1317
- var logText = "color data loaded successfully"
1291
+ var logText = 'color data loaded successfully';
1318
1292
  logger.info(logText);
1319
1293
  state = 'color_data_loaded_success';
1320
1294
  logger.info('state: ' + state);
@@ -1328,11 +1302,11 @@ var j1 = (function () {
1328
1302
  }
1329
1303
  },
1330
1304
  error: function (data) {
1331
- var logText = "color data not loaded"
1305
+ var logText = 'color data not loaded';
1332
1306
  logger.warn(logText);
1333
1307
  state = 'color_data_loaded_failed';
1334
1308
  logger.info('state: ' + state);
1335
- executeFunctionByName('j1.setState', window, state)
1309
+ executeFunctionByName('j1.setState', window, state);
1336
1310
  return false;
1337
1311
  }
1338
1312
  });
@@ -1377,7 +1351,7 @@ var j1 = (function () {
1377
1351
  return $.ajax({
1378
1352
  url: data_path,
1379
1353
  success: function (data) {
1380
- var logText = "font size data loaded successfully"
1354
+ var logText = 'font size data loaded successfully';
1381
1355
  logger.info(logText);
1382
1356
  state = 'fontsize_data_loaded_success';
1383
1357
  logger.info('state: ' + state);
@@ -1391,11 +1365,11 @@ var j1 = (function () {
1391
1365
  }
1392
1366
  },
1393
1367
  error: function (data) {
1394
- var logText = "font size data not loaded"
1368
+ var logText = 'font size data not loaded';
1395
1369
  logger.warn(logText);
1396
1370
  state = 'fontsize_data_loaded_failed';
1397
1371
  logger.info('state: ' + state);
1398
- executeFunctionByName('j1.setState', window, state)
1372
+ executeFunctionByName('j1.setState', window, state);
1399
1373
  return false;
1400
1374
  }
1401
1375
  });
@@ -1412,8 +1386,7 @@ var j1 = (function () {
1412
1386
  var reCSS = /\bpx\b|\brem\b|\bem\b|\%|\binherit\b|\binitial\b|\bunset\b/;
1413
1387
  var isCSS = size.match(reCSS);
1414
1388
 
1415
- // if ( typeof j1_font_sizes[size] != "undefined" ) {
1416
- if ( typeof j1.fonts[size] != "undefined" ) {
1389
+ if ( typeof j1.fonts[size] != 'undefined' ) {
1417
1390
  return j1.fonts[size];
1418
1391
  } else if (isCSS) {
1419
1392
  return size;
@@ -1457,14 +1430,14 @@ var j1 = (function () {
1457
1430
  }
1458
1431
  }
1459
1432
  j1.messages = message_catalog;
1460
- logBase = message_catalog.info.getData.message
1433
+ logBase = message_catalog.info.getData.message;
1461
1434
  logText = logBase.text + logBase.message_catalog + logBase.finished;
1462
1435
  logger.info(logText);
1463
1436
  },
1464
1437
  error: function(data) {
1465
1438
  var json_data = JSON.stringify(data, undefined, 2);
1466
1439
  logBase = message_catalog.error.getData.message;
1467
- logText = logBase.text + logBase.xhr + ': ' + json_data
1440
+ logText = logBase.text + logBase.xhr + ': ' + json_data;
1468
1441
  logger.error(logText);
1469
1442
  }
1470
1443
  });
@@ -1527,8 +1500,8 @@ var j1 = (function () {
1527
1500
  Cookies.set(settings.name, data_encoded);
1528
1501
  }
1529
1502
  } else {
1530
- cookie_data = settings.data
1531
- data_json = JSON.stringify( settings.data );
1503
+ cookie_data = settings.data;
1504
+ data_json = JSON.stringify(settings.data);
1532
1505
  data_encoded = window.btoa(data_json);
1533
1506
  if (settings.expires > 0) {
1534
1507
  Cookies.set(settings.name, data_encoded, { expires: settings.expires });
@@ -1573,13 +1546,13 @@ var j1 = (function () {
1573
1546
  // -------------------------------------------------------------------------
1574
1547
  deleteCookie: function (options) {
1575
1548
  var name = options;
1576
- var all_cookies = document.cookie.split("; ");
1549
+ var all_cookies = document.cookie.split('; ');
1577
1550
 
1578
1551
  if ( name === 'all' ) {
1579
1552
  for (var c = 0; c < all_cookies.length; c++) {
1580
- var d = window.location.hostname.split(".");
1553
+ var d = window.location.hostname.split('.');
1581
1554
  while (d.length > 0) {
1582
- var cookieBase = encodeURIComponent(all_cookies[c].split(";")[0].split("=")[0]) + '=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=' + d.join('.') + ' ;path=';
1555
+ var cookieBase = encodeURIComponent(all_cookies[c].split(';')[0].split('=')[0]) + '=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=' + d.join('.') + ' ;path=';
1583
1556
  var p = location.pathname.split('/');
1584
1557
  document.cookie = cookieBase + '/';
1585
1558
  while (p.length > 0) {
@@ -1590,7 +1563,7 @@ var j1 = (function () {
1590
1563
  }
1591
1564
  }
1592
1565
  } else {
1593
- document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT";
1566
+ document.cookie = name + '=;expires=Thu, 01 Jan 1970 00:00:00 GMT';
1594
1567
  }
1595
1568
 
1596
1569
  return true;
@@ -1601,8 +1574,8 @@ var j1 = (function () {
1601
1574
  // -------------------------------------------------------------------------
1602
1575
  existsCookie: function (name) {
1603
1576
  var dc = document.cookie;
1604
- var prefix = name + "=";
1605
- var begin = dc.indexOf("; " + prefix);
1577
+ var prefix = name + '=';
1578
+ var begin = dc.indexOf('; ' + prefix);
1606
1579
  var end = dc.length; // default to end of the string
1607
1580
  var cookieExists = false;
1608
1581
  var cookieContent = '';
@@ -1620,8 +1593,8 @@ var j1 = (function () {
1620
1593
 
1621
1594
  // if ";" is found somewhere after the prefix position then "end" is
1622
1595
  // that position, otherwise it defaults to the end of the string
1623
- if (dc.indexOf(";", begin) !== -1) {
1624
- end = dc.indexOf(";", begin);
1596
+ if (dc.indexOf(';', begin) !== -1) {
1597
+ end = dc.indexOf(';', begin);
1625
1598
  }
1626
1599
 
1627
1600
  cookieContent = decodeURI(dc.substring(begin + prefix.length, end) ).replace(/"/g, '');
@@ -1716,32 +1689,32 @@ var j1 = (function () {
1716
1689
  var $this = $(this);
1717
1690
  var $html = $this.html();
1718
1691
  $this.html($html.replace(/Provider:.*/, 'Provider: ' + user_data.provider));
1719
- $('#macro-provider').attr("href", user_data.provider_site_url);
1692
+ $('#macro-provider').attr('href', user_data.provider_site_url);
1720
1693
  });
1721
1694
  $('#macro-user-name').each(function() {
1722
1695
  var $this = $(this);
1723
1696
  var $html = $this.html();
1724
1697
  $this.html($html.replace(/User:.*/, 'User: ' + user_data.user_name));
1725
- $('#macro-user-name').attr("href", user_data.provider_member_url);
1698
+ $('#macro-user-name').attr('href', user_data.provider_member_url);
1726
1699
  });
1727
1700
  $('#macro-provider-permissions').each(function() {
1728
1701
  var $this = $(this);
1729
1702
  var $html = $this.html();
1730
1703
  // $this.html($html.replace(/public|protected|private|blocked/, user_data.provider_permissions));
1731
1704
  $this.html($html.replace(/public.*|protected.*|private.*|blocked.*/, user_data.provider_permissions));
1732
- $('#macro-provider-permissions').attr("href", user_data.provider_member_url);
1705
+ $('#macro-provider-permissions').attr('href', user_data.provider_member_url);
1733
1706
  });
1734
1707
  $('#macro-provider-membership').each(function() {
1735
1708
  var $this = $(this);
1736
1709
  var $html = $this.html();
1737
1710
  $this.html($html.replace(/guest|member/, user_data.provider_membership));
1738
- $('#macro-provider-membership').attr("href", user_data.provider_member_url);
1711
+ $('#macro-provider-membership').attr('href', user_data.provider_member_url);
1739
1712
  });
1740
1713
  $('#macro-cookie-state').each(function() {
1741
1714
  var $this = $(this);
1742
1715
  var $html = $this.html();
1743
1716
  $this.html($html.replace(/accepted|declined|pending/, user_data.cookies_accepted));
1744
- $('#macro-cookie-state').attr("href", user_data.provider_privacy_url);
1717
+ $('#macro-cookie-state').attr('href', user_data.provider_privacy_url);
1745
1718
  });
1746
1719
 
1747
1720
  });
@@ -1758,7 +1731,7 @@ var j1 = (function () {
1758
1731
  // Get a log message from the log message catalog object
1759
1732
  // -------------------------------------------------------------------------
1760
1733
  getMessage: function (level, message, property) {
1761
- var message = j1.messages[level][message]["message"][property];
1734
+ var message = j1.messages[level][message]['message'][property];
1762
1735
 
1763
1736
  return message;
1764
1737
  }, // END getMessage
@@ -1829,12 +1802,12 @@ var j1 = (function () {
1829
1802
  if ( receiver === 'j1' ) {
1830
1803
  logText = 'send message from ' + sender + ' to' + receiver + ': ' + json_message;
1831
1804
  logger.debug(logText);
1832
- executeFunctionByName('j1' + '.messageHandler', window, sender, message)
1805
+ executeFunctionByName('j1' + '.messageHandler', window, sender, message);
1833
1806
  } else {
1834
1807
  logText = 'send message from ' + sender + ' to ' + receiver + ': ' + json_message;
1835
1808
  logger.debug(logText);
1836
1809
  //executeFunctionByName('j1.' + receiver + '.messageHandler', window, sender, message)
1837
- executeFunctionByName(receiver + '.messageHandler', window, sender, message)
1810
+ executeFunctionByName(receiver + '.messageHandler', window, sender, message);
1838
1811
  }
1839
1812
 
1840
1813
  }, // END sendMessage
@@ -2021,16 +1994,14 @@ var j1 = (function () {
2021
1994
  window.home();
2022
1995
  } else if (document.all) {
2023
1996
  // for IE
2024
- window.location.href = "about:home";
1997
+ window.location.href = 'about:home';
2025
1998
  } else {
2026
- window.location.href = "about:blank";
1999
+ window.location.href = 'about:blank';
2027
2000
  }
2028
2001
  } // END gohome
2029
-
2030
- } // END j1 (return)
2002
+ }; // END j1 (return)
2031
2003
  }) (j1, window);
2032
2004
 
2033
2005
  {% endcapture %}
2034
-
2035
2006
  {{ cache | strip_empty_lines }}
2036
2007
  {% assign cache = nil %}