source: node_modules/gauge/lib/base-theme.js@ 62b2964

finki-main main
Last change on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • Property mode set to 100644
File size: 424 bytes
Line 
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}
Note: See TracBrowser for help on using the repository browser.