Skip to content

Commit

Permalink
Merge pull request xuejianxianzun#419 from chen-charles/master
Browse files Browse the repository at this point in the history
epub: fix send-to-kindle failure on notes.html
  • Loading branch information
xuejianxianzun committed Aug 28, 2024
2 parents 1db3879 + 81fbda1 commit 64a5331
Show file tree
Hide file tree
Showing 9 changed files with 30,078 additions and 30,077 deletions.
60,130 changes: 30,063 additions & 30,067 deletions dist/js/content.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/content.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/lib/jepub.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "xuejianxianzun",
"license": "GPL-3.0-or-later",
"scripts": {
"fmt": "prettier -c --write \"src\\ts\\**\" && prettier -c --write \"src\\style\\**\"",
"fmt": "prettier -c --write \"src/ts/**\" && prettier -c --write \"src/style/**\"",
"ts": "webpack --config ./webpack.conf.js",
"less": "lessc ./src/style/style.less ./dist/style/style.css && lessc ./src/style/showLargerThumbnails.less ./dist/style/showLargerThumbnails.css",
"pre-build": "npm run fmt && npm run ts && npm run less",
Expand All @@ -15,6 +15,7 @@
"devDependencies": {
"@types/chrome": "0.0.154",
"@types/node": "^13.13.5",
"@types/har-format": "1.2.8",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"archiver": "^3.1.1",
Expand Down
4 changes: 3 additions & 1 deletion src/static/lib/jepub.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/ts/FileName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ class FileName {
value: !allNameRule.includes('{px}')
? null
: data.fullWidth
? data.fullWidth + 'x' + data.fullHeight
: '',
? data.fullWidth + 'x' + data.fullHeight
: '',
prefix: '',
safe: true,
},
Expand Down
2 changes: 1 addition & 1 deletion src/ts/Lang.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { langText } from './LangText'
import { langText } from './langText'
import { EVT } from './EVT'

type LangTypes = 'zh-cn' | 'zh-tw' | 'en' | 'ja' | 'ko' | 'ru'
Expand Down
4 changes: 2 additions & 2 deletions src/ts/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import './PreviewWork'
import './ShowLargerThumbnails'
import './DoubleWidthThumb'
import './ShowZoomBtnOnThumb'
import './ShowDownloadBtnOnThumb'
import './showDownloadBtnOnThumb'
import './output/OutputPanel'
import './output/PreviewFileName'
import './output/ShowURLs'
Expand All @@ -40,7 +40,7 @@ import './download/ExportLST'
import './download/MergeNovel'
import './download/SaveWorkMeta'
import './download/SaveWorkDescription'
import './download/ShowStatusOnTitle'
import './download/showStatusOnTitle'
import './download/ShowTotalResultOnTitle'
import './download/ShowRemainingDownloadOnTitle'
import './download/DownloadOnClickLike'
Expand Down
2 changes: 1 addition & 1 deletion src/ts/filter/WorkPublishTime.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { API } from '../API'
import { secretSignal } from '../utils/SecretSignal'
import { Utils } from '../utils/Utils'
import { illustsData } from '../store/workPublishTimeIllusts'
import { illustsData } from '../store/WorkPublishTimeIllusts'
import { novelData as novelsData } from '../store/WorkPublishTimeNovels'

// 获取指定 id 的发布时间范围
Expand Down

0 comments on commit 64a5331

Please sign in to comment.