mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-09 16:36:16 +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"
|
||||
|
||||
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
|
||||
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
|
||||
sharerJS: sharer.js@0.5.1/sharer.min.js
|
||||
# typeit@7.0.4 https://github.com/alexmacarthur/typeit
|
||||
typeitJS: typeit@7.0.4/dist/typeit.min.js
|
||||
# typeit@8.5.4 https://github.com/alexmacarthur/typeit
|
||||
typeitJS: typeit@8.5.4/dist/index.umd.js
|
||||
# katex@0.15.3 https://katex.org/
|
||||
katexCSS: katex@0.15.3/dist/katex.min.css
|
||||
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 */ -}}
|
||||
{{- with (.Scratch.Get "this").typeitMap -}}
|
||||
{{- $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" -}}
|
||||
{{- $config = dict "speed" $typeit.speed "cursorSpeed" $typeit.cursorSpeed "cursorChar" $typeit.cursorChar "duration" $typeit.duration "data" . | dict "typeit" | merge $config -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue