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