From 35bc0c024f0657057b048e98989d6e6bfa96b25b Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 16 Feb 2017 17:20:45 +0900 Subject: [Client] 良い感じに MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/app/common/scripts/gcd.js | 2 ++ src/web/app/common/tags/file-type-icon.tag | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 src/web/app/common/scripts/gcd.js (limited to 'src/web/app/common') 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; diff --git a/src/web/app/common/tags/file-type-icon.tag b/src/web/app/common/tags/file-type-icon.tag index 054457bf03..b4b0c88d66 100644 --- a/src/web/app/common/tags/file-type-icon.tag +++ b/src/web/app/common/tags/file-type-icon.tag @@ -1,11 +1,10 @@ - + + -- cgit v1.2.3-freya