mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-21 14:26:17 +01:00
chore(lib): update typeit 7.0.4 -> 8.5.4
This commit is contained in:
parent
ebe8257d89
commit
33c4e80a1d
5 changed files with 6 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
npm run build && npm run copy && git add resources assets/js
|
npm run build && npm run copy && git add resources assets/js
|
||||||
|
|
|
@ -35,8 +35,8 @@ libFiles:
|
||||||
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
|
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
|
||||||
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
|
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
|
||||||
sharerJS: sharer.js@0.5.1/sharer.min.js
|
sharerJS: sharer.js@0.5.1/sharer.min.js
|
||||||
# typeit@7.0.4 https://github.com/alexmacarthur/typeit
|
# typeit@8.5.4 https://github.com/alexmacarthur/typeit
|
||||||
typeitJS: typeit@7.0.4/dist/typeit.min.js
|
typeitJS: typeit@8.5.4/dist/index.umd.js
|
||||||
# katex@0.15.3 https://katex.org/
|
# katex@0.15.3 https://katex.org/
|
||||||
katexCSS: katex@0.15.3/dist/katex.min.css
|
katexCSS: katex@0.15.3/dist/katex.min.css
|
||||||
katexJS: katex@0.15.3/dist/katex.min.js
|
katexJS: katex@0.15.3/dist/katex.min.js
|
||||||
|
|
2
assets/lib/typeit/index.umd.js
Normal file
2
assets/lib/typeit/index.umd.js
Normal file
File diff suppressed because one or more lines are too long
8
assets/lib/typeit/typeit.min.js
vendored
8
assets/lib/typeit/typeit.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -79,7 +79,7 @@
|
||||||
{{- /* TypeIt */ -}}
|
{{- /* TypeIt */ -}}
|
||||||
{{- with (.Scratch.Get "this").typeitMap -}}
|
{{- with (.Scratch.Get "this").typeitMap -}}
|
||||||
{{- $typeit := $.Site.Params.typeit -}}
|
{{- $typeit := $.Site.Params.typeit -}}
|
||||||
{{- $source := $cdn.typeitJS | default "lib/typeit/typeit.min.js" -}}
|
{{- $source := $cdn.typeitJS | default "lib/typeit/index.umd.js" -}}
|
||||||
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" $.Scratch "Data" | partial "scratch/script.html" -}}
|
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" $.Scratch "Data" | partial "scratch/script.html" -}}
|
||||||
{{- $config = dict "speed" $typeit.speed "cursorSpeed" $typeit.cursorSpeed "cursorChar" $typeit.cursorChar "duration" $typeit.duration "data" . | dict "typeit" | merge $config -}}
|
{{- $config = dict "speed" $typeit.speed "cursorSpeed" $typeit.cursorSpeed "cursorChar" $typeit.cursorChar "duration" $typeit.duration "data" . | dict "typeit" | merge $config -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in a new issue