Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
chore(lib): remove ls.native-loading
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Feb 24, 2020
1 parent 7e56922 commit 0dc5feb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions assets/lib/lazysizes/ls.native-loading.min.js

This file was deleted.

1 change: 0 additions & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ enableEmoji = true
sharerJS = ''
# [email protected] https://github.com/aFarkas/lazysizes
lazysizesJS = ''
lazysizesNativeLoadingJS = ''
# [email protected] [email protected] [email protected] https://github.com/sachinchoolur/lightgallery.js
lightgalleryCSS = ''
lightgalleryJS = ''
Expand Down
2 changes: 0 additions & 2 deletions layouts/partials/plugin/image.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<a class="lightgallery" href="{{ $large | safeURL }}" title="{{ $description }}" data-thumbnail="{{ $small | safeURL }}"{{ if $title }} data-sub-html="<h2>{{ $title }}</h2><p>{{ $description }}</p>"{{ end }}>
<img
class="lazyload"
loading="lazy"
src="{{ $loading.RelPermalink | safeURL }}"
data-sizes="auto"
data-srcset="{{ $small | safeURL }}, {{ $src | safeURL }} 1.5x, {{ $large | safeURL }} 2x"
Expand All @@ -25,7 +24,6 @@
{{- else -}}
<img
class="lazyload"
loading="lazy"
src="{{ $loading.RelPermalink | safeURL }}"
data-sizes="auto"
data-srcset="{{ $small | safeURL }}, {{ $src | safeURL }} 1.5x, {{ $large | safeURL }} 2x"
Expand Down
5 changes: 0 additions & 5 deletions layouts/partials/script.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
{{- else -}}
{{- slice "lib/lazysizes/lazysizes.min.js" | $scratch.Add "scriptLocal" -}}
{{- end -}}
{{- with $CDN.lazysizesNativeLoadingJS -}}
{{- slice . | $scratch.Add "scriptCDN" -}}
{{- else -}}
{{- slice "lib/lazysizes/ls.native-loading.min.js" | $scratch.Add "scriptLocal" -}}
{{- end -}}
{{- end -}}

{{- /* lightgallery.js */ -}}
Expand Down

0 comments on commit 0dc5feb

Please sign in to comment.