[Client] Refactor
This commit is contained in:
parent
158cd43d9c
commit
616cad9768
2 changed files with 2 additions and 4 deletions
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue