[Client] Refactor

This commit is contained in:
syuilo 2017-02-17 05:02:49 +09:00
parent 158cd43d9c
commit 616cad9768
2 changed files with 2 additions and 4 deletions

View file

@ -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'

View file

@ -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