Skip to content
Snippets Groups Projects
Commit 1cc183ec authored by Aya Morisawa's avatar Aya Morisawa Committed by syuilo
Browse files

Resolve #2631 (#2632)

parent e8948452
No related branches found
No related tags found
No related merge requests found
const gcd = (a, b) => !b ? a : gcd(b, a % b);
export default gcd;
......@@ -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'],
......
export function gcd(a: number, b: number): number {
return b === 0 ? a : gcd(b, a % b);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment