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