chore(lib): update lightgallery 2.4.0 -> 2.5.0

This commit is contained in:
Dillon
2022-06-22 23:57:53 +08:00
parent ac8674b987
commit be0a4267af
15 changed files with 33 additions and 33 deletions
+5 -5
View File
@@ -17,11 +17,11 @@ libFiles:
lazysizesJS: lazysizes/5.3.2/lazysizes.min.js
# object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
objectFitImagesJS: object-fit-images/3.2.4/ofi.min.js
# lightgallery@2.4.0 https://github.com/sachinchoolur/lightgallery
lightgalleryCSS: lightgallery/2.4.0/css/lightgallery-bundle.min.css
lightgalleryJS: lightgallery/2.4.0/lightgallery.min.js
lightgalleryThumbnailJS: lightgallery/2.4.0/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryZoomJS: lightgallery/2.4.0/plugins/zoom/lg-zoom.min.js
# lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
lightgalleryCSS: lightgallery/2.5.0/css/lightgallery-bundle.min.css
lightgalleryJS: lightgallery/2.5.0/lightgallery.min.js
lightgalleryThumbnailJS: lightgallery/2.5.0/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryZoomJS: lightgallery/2.5.0/plugins/zoom/lg-zoom.min.js
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard.js/2.0.11/clipboard.min.js
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
+5 -5
View File
@@ -19,11 +19,11 @@ libFiles:
objectFitImagesJS: object-fit-images@3.2.4/dist/ofi.min.js
# twemoji@14.0.2 https://github.com/twitter/twemoji
twemojiJS: twemoji@14.0.2/dist/twemoji.min.js
# lightgallery@2.4.0 https://github.com/sachinchoolur/lightgallery
lightgalleryCSS: lightgallery@2.4.0/css/lightgallery-bundle.min.css
lightgalleryJS: lightgallery@2.4.0/lightgallery.min.js
lightgalleryThumbnailJS: lightgallery@2.4.0/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryZoomJS: lightgallery@2.4.0/plugins/zoom/lg-zoom.min.js
# lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
lightgalleryCSS: lightgallery@2.5.0/css/lightgallery-bundle.min.css
lightgalleryJS: lightgallery@2.5.0/lightgallery.min.js
lightgalleryThumbnailJS: lightgallery@2.5.0/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryZoomJS: lightgallery@2.5.0/plugins/zoom/lg-zoom.min.js
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
+1 -1
View File
@@ -9,7 +9,7 @@ lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
twemoji@14.0.2 https://github.com/twitter/twemoji
emoji-data@14.0.0 https://github.com/iamcal/emoji-data
lightgallery@2.4.0 https://github.com/sachinchoolur/lightgallery
lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
typeit@8.6.0 https://github.com/alexmacarthur/typeit
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -43,13 +43,13 @@
{{- /* lightgallery */ -}}
{{- if $params.lightgallery -}}
{{- $source := $cdn.lightgalleryCSS | default "lib/lightgallery/lightgallery.min.css" -}}
{{- $source := $cdn.lightgalleryCSS | default "lib/lightgallery/css/lightgallery-bundle.min.css" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/style.html" -}}
{{- $source := $cdn.lightgalleryJS | default "lib/lightgallery/lightgallery.min.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
{{- $source := $cdn.lightgalleryThumbnailJS | default "lib/lightgallery/plugins/lg-thumbnail.min.js" -}}
{{- $source := $cdn.lightgalleryThumbnailJS | default "lib/lightgallery/plugins/thumbnail/lg-thumbnail.min.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
{{- $source := $cdn.lightgalleryZoomJS | default "lib/lightgallery/plugins/lg-zoom.min.js" -}}
{{- $source := $cdn.lightgalleryZoomJS | default "lib/lightgallery/plugins/zoom/lg-zoom.min.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
{{- $config = dict "lightgallery" true | merge $config -}}
{{- end -}}

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB