1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| 'use strict'
| var spin = require('./spin.js')
| var progressBar = require('./progress-bar.js')
|
| module.exports = {
| activityIndicator: function (values, theme, width) {
| if (values.spun == null) {
| return
| }
| return spin(theme, values.spun)
| },
| progressbar: function (values, theme, width) {
| if (values.completed == null) {
| return
| }
| return progressBar(theme, width, values.completed)
| },
| }
|
|