From 616cad97687fdb6a570f8e27ea64814017202ed8 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Fri, 17 Feb 2017 05:02:49 +0900
Subject: [PATCH] [Client] Refactor

---
 src/web/app/common/mixins.ls            | 3 ---
 src/web/app/desktop/tags/drive/file.tag | 3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/web/app/common/mixins.ls b/src/web/app/common/mixins.ls
index 0a3802e25c..812bcae102 100644
--- a/src/web/app/common/mixins.ls
+++ b/src/web/app/common/mixins.ls
@@ -35,6 +35,3 @@ module.exports = (me) ~>
 
 	riot.mixin \ui-progress do
 		Progress: require './scripts/loading.ls'
-
-	riot.mixin \bytes-to-size do
-		bytes-to-size: require './scripts/bytes-to-size.js'
diff --git a/src/web/app/desktop/tags/drive/file.tag b/src/web/app/desktop/tags/drive/file.tag
index 941c64b06d..9325e30a46 100644
--- a/src/web/app/desktop/tags/drive/file.tag
+++ b/src/web/app/desktop/tags/drive/file.tag
@@ -144,8 +144,9 @@
 
 	</style>
 	<script>
+		@bytes-to-size = require '../../../common/scripts/bytes-to-size.js'
+
 		@mixin \i
-		@mixin \bytes-to-size
 
 		@file = @opts.file
 		@browser = @parent