diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-16 17:20:45 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-16 17:20:45 +0900 |
| commit | 35bc0c024f0657057b048e98989d6e6bfa96b25b (patch) | |
| tree | c68fa295f83c87d8bc167b9dddc732027573d5c7 /src/web/app/common/scripts | |
| parent | [API] 良い感じに (diff) | |
| download | sharkey-35bc0c024f0657057b048e98989d6e6bfa96b25b.tar.gz sharkey-35bc0c024f0657057b048e98989d6e6bfa96b25b.tar.bz2 sharkey-35bc0c024f0657057b048e98989d6e6bfa96b25b.zip | |
[Client] 良い感じに
Diffstat (limited to 'src/web/app/common/scripts')
| -rw-r--r-- | src/web/app/common/scripts/gcd.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web/app/common/scripts/gcd.js b/src/web/app/common/scripts/gcd.js new file mode 100644 index 0000000000..43bfbc57ae --- /dev/null +++ b/src/web/app/common/scripts/gcd.js @@ -0,0 +1,2 @@ +const gcd = (a, b) => !b ? a : gcd(b, a % b); +module.exports = gcd; |