[Client] Refactor
This commit is contained in:
parent
158cd43d9c
commit
616cad9768
@ -35,6 +35,3 @@ module.exports = (me) ~>
|
|||||||
|
|
||||||
riot.mixin \ui-progress do
|
riot.mixin \ui-progress do
|
||||||
Progress: require './scripts/loading.ls'
|
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>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
|
@bytes-to-size = require '../../../common/scripts/bytes-to-size.js'
|
||||||
|
|
||||||
@mixin \i
|
@mixin \i
|
||||||
@mixin \bytes-to-size
|
|
||||||
|
|
||||||
@file = @opts.file
|
@file = @opts.file
|
||||||
@browser = @parent
|
@browser = @parent
|
||||||
|
Loading…
Reference in New Issue
Block a user