"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/gauge/base-theme.js" (8 Mar 2017, 395 Bytes) of archive /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Javascript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    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 }