You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 rivejä
395 B

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