2 var spin = require('./spin.js')
3 var progressBar = require('./progress-bar.js')
6 activityIndicator: function (values, theme, width) {
7 if (values.spun == null) return
8 return spin(theme, values.spun)
10 progressbar: function (values, theme, width) {
11 if (values.completed == null) return
12 return progressBar(theme, width, values.completed)