diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-09-06 02:44:01 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2018-09-06 02:44:01 +0900 |
| commit | 1cc183ecdbc1d9e54d2d04634ea30b2dc071bc53 (patch) | |
| tree | 019ffae62debdd67a054827a701195d3ff2dd32d /src/client/app | |
| parent | Resolve #2629 (#2630) (diff) | |
| download | sharkey-1cc183ecdbc1d9e54d2d04634ea30b2dc071bc53.tar.gz sharkey-1cc183ecdbc1d9e54d2d04634ea30b2dc071bc53.tar.bz2 sharkey-1cc183ecdbc1d9e54d2d04634ea30b2dc071bc53.zip | |
Resolve #2631 (#2632)
Diffstat (limited to 'src/client/app')
| -rw-r--r-- | src/client/app/common/scripts/gcd.ts | 2 | ||||
| -rw-r--r-- | src/client/app/mobile/views/components/drive.file-detail.vue | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/client/app/common/scripts/gcd.ts b/src/client/app/common/scripts/gcd.ts deleted file mode 100644 index 9a19f9da66..0000000000 --- a/src/client/app/common/scripts/gcd.ts +++ /dev/null @@ -1,2 +0,0 @@ -const gcd = (a, b) => !b ? a : gcd(b, a % b); -export default gcd; diff --git a/src/client/app/mobile/views/components/drive.file-detail.vue b/src/client/app/mobile/views/components/drive.file-detail.vue index 43867211e9..8108892597 100644 --- a/src/client/app/mobile/views/components/drive.file-detail.vue +++ b/src/client/app/mobile/views/components/drive.file-detail.vue @@ -67,7 +67,7 @@ import Vue from 'vue'; import * as EXIF from 'exif-js'; import * as hljs from 'highlight.js'; -import gcd from '../../../common/scripts/gcd'; +import { gcd } from '../../../../../prelude/math'; export default Vue.extend({ props: ['file'], |