Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
tachibana-shin committed May 28, 2023
1 parent 1d4cc11 commit 9912b7b
Show file tree
Hide file tree
Showing 8 changed files with 459 additions and 68 deletions.
30 changes: 15 additions & 15 deletions src-capacitor/android/app/src/main/assets/capacitor.config.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"appId": "git.shin.animevsub",
"appName": "AnimeVsub",
"plugins": {
"CapacitorCookies": {
"enabled": true
},
"CapacitorHttp": {
"enabled": true
}
},
"bundledWebRuntime": false,
"webDir": "www",
"server": {
"url": "http://192.168.0.129:9500"
}
"appId": "git.shin.animevsub",
"appName": "AnimeVsub",
"plugins": {
"CapacitorCookies": {
"enabled": true
},
"CapacitorHttp": {
"enabled": true
}
},
"bundledWebRuntime": false,
"webDir": "www",
"server": {
"url": "http://192.168.0.129:9500"
}
}
88 changes: 44 additions & 44 deletions src-capacitor/android/app/src/main/assets/capacitor.plugins.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
[
{
"pkg": "@capacitor-community/barcode-scanner",
"classpath": "com.getcapacitor.community.barcodescanner.BarcodeScanner"
},
{
"pkg": "@capacitor-community/firebase-analytics",
"classpath": "com.getcapacitor.community.firebaseanalytics.FirebaseAnalytics"
},
{
"pkg": "@capacitor/app",
"classpath": "com.capacitorjs.plugins.app.AppPlugin"
},
{
"pkg": "@capacitor/browser",
"classpath": "com.capacitorjs.plugins.browser.BrowserPlugin"
},
{
"pkg": "@capacitor/device",
"classpath": "com.capacitorjs.plugins.device.DevicePlugin"
},
{
"pkg": "@capacitor/filesystem",
"classpath": "com.capacitorjs.plugins.filesystem.FilesystemPlugin"
},
{
"pkg": "@capacitor/haptics",
"classpath": "com.capacitorjs.plugins.haptics.HapticsPlugin"
},
{
"pkg": "@capacitor/preferences",
"classpath": "com.capacitorjs.plugins.preferences.PreferencesPlugin"
},
{
"pkg": "@capacitor/share",
"classpath": "com.capacitorjs.plugins.share.SharePlugin"
},
{
"pkg": "@capacitor/status-bar",
"classpath": "com.capacitorjs.plugins.statusbar.StatusBarPlugin"
},
{
"pkg": "@hugotomazi/capacitor-navigation-bar",
"classpath": "br.com.tombus.capacitor.plugin.navigationbar.NavigationBarPlugin"
}
{
"pkg": "@capacitor-community/barcode-scanner",
"classpath": "com.getcapacitor.community.barcodescanner.BarcodeScanner"
},
{
"pkg": "@capacitor-community/firebase-analytics",
"classpath": "com.getcapacitor.community.firebaseanalytics.FirebaseAnalytics"
},
{
"pkg": "@capacitor/app",
"classpath": "com.capacitorjs.plugins.app.AppPlugin"
},
{
"pkg": "@capacitor/browser",
"classpath": "com.capacitorjs.plugins.browser.BrowserPlugin"
},
{
"pkg": "@capacitor/device",
"classpath": "com.capacitorjs.plugins.device.DevicePlugin"
},
{
"pkg": "@capacitor/filesystem",
"classpath": "com.capacitorjs.plugins.filesystem.FilesystemPlugin"
},
{
"pkg": "@capacitor/haptics",
"classpath": "com.capacitorjs.plugins.haptics.HapticsPlugin"
},
{
"pkg": "@capacitor/preferences",
"classpath": "com.capacitorjs.plugins.preferences.PreferencesPlugin"
},
{
"pkg": "@capacitor/share",
"classpath": "com.capacitorjs.plugins.share.SharePlugin"
},
{
"pkg": "@capacitor/status-bar",
"classpath": "com.capacitorjs.plugins.statusbar.StatusBarPlugin"
},
{
"pkg": "@hugotomazi/capacitor-navigation-bar",
"classpath": "br.com.tombus.capacitor.plugin.navigationbar.NavigationBarPlugin"
}
]
388 changes: 387 additions & 1 deletion src/__test__/apis/assets/lich-chieu-phim.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/__test__/apis/assets/tonikaku-kawaii-a3860.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{

"name": "Tonikaku Kawaii [BD]",
"othername": "TONIKAWA: Over the Moon For You:, Generally Cute, Fly Me to the Moon",
"image": "http://cdn.animevietsub.cc/data/poster/2020/09/30/animevsub-1NmQPMC9x0.jpg",
Expand Down
6 changes: 4 additions & 2 deletions src/apis/parser/__helpers__/getInfoTPost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export function getInfoTPost(cheerio: Cheerio<Element>, now: number) {
)

// =============== more =====================
const quality = cheerio.find(".Qlty:eq(0)").text() || cheerio.find(".mli-quality:eq(0)").text()
const quality =
cheerio.find(".Qlty:eq(0)").text() ||
cheerio.find(".mli-quality:eq(0)").text()

const process = cheerio.find(".AAIco-access_time:eq(0)").text()

Expand Down Expand Up @@ -63,7 +65,7 @@ export function getInfoTPost(cheerio: Cheerio<Element>, now: number) {
time_release:
timeschedule.length > 0
? (countdown === undefined
? undefined
? undefined
: Math.round(now / 1e3 + countdown) * 1e3) ?? null
: undefined,
}
Expand Down
4 changes: 3 additions & 1 deletion src/components/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
</BottomBlur>
<Quality
v-if="data.quality"
:class="trending || qualityFloatRight ? 'right-0 top-2 absolute' : undefined"
:class="
trending || qualityFloatRight ? 'right-0 top-2 absolute' : undefined
"
>{{ data.quality }}</Quality
>
<img v-if="trending" :src="ranks[trending - 1]" class="h-[1.5rem]" />
Expand Down
6 changes: 4 additions & 2 deletions src/components/errors/cloudflare.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
<small class="mt-3 text-[12px] text-gray-400"
>Sau khi xác thực hãy nhấn vào nút bên dưới</small
>
<br>
<small class="mt-3 text-[12px] text-gray-400">Nếu sự cố vẫn tiếp diễn bạn có thể cần một VPN trỏ tới Việt Nam</small>
<br />
<small class="mt-3 text-[12px] text-gray-400"
>Nếu sự cố vẫn tiếp diễn bạn có thể cần một VPN trỏ tới Việt Nam</small
>
</div>

<q-btn
Expand Down
4 changes: 2 additions & 2 deletions src/pages/phim/_season.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1003,8 +1003,8 @@ watchEffect(async (onCleanup): Promise<void> => {
currentDataSeason.value?.chaps.some((item) => item.id === episodeId)
) {
currentChap.value = episodeId
if (typeof watcher === "undefined") setTimeout(watcher)
else watcher()
if (typeof watcher === "undefined") setTimeout(watcher)
else watcher()
}
})
} else {
Expand Down

0 comments on commit 9912b7b

Please sign in to comment.