diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-06-22 04:18:32 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-06-22 04:18:32 +0800 |
commit | a08c3bc01b11fbd0e3a243359befbe9fc909edf4 (patch) | |
tree | b79b7324139945c429ca4b6c74715d8040fdf4e1 /ui/css.js | |
parent | f7f8f8b1c50be39db22a7b10c6c6db007fe590aa (diff) | |
download | tangerine-wallet-browser-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.tar tangerine-wallet-browser-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.tar.gz tangerine-wallet-browser-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.tar.bz2 tangerine-wallet-browser-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.tar.lz tangerine-wallet-browser-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.tar.xz tangerine-wallet-browser-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.tar.zst tangerine-wallet-browser-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.zip |
Auto linted
Diffstat (limited to 'ui/css.js')
-rw-r--r-- | ui/css.js | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -3,23 +3,23 @@ const fs = require('fs') module.exports = bundleCss var cssFiles = { - 'fonts.css': fs.readFileSync(__dirname+'/app/css/fonts.css', 'utf8'), - 'reset.css': fs.readFileSync(__dirname+'/app/css/reset.css', 'utf8'), - 'lib.css': fs.readFileSync(__dirname+'/app/css/lib.css', 'utf8'), - 'index.css': fs.readFileSync(__dirname+'/app/css/index.css', 'utf8'), - 'transitions.css': fs.readFileSync(__dirname+'/app/css/transitions.css', 'utf8'), + 'fonts.css': fs.readFileSync(__dirname + '/app/css/fonts.css', 'utf8'), + 'reset.css': fs.readFileSync(__dirname + '/app/css/reset.css', 'utf8'), + 'lib.css': fs.readFileSync(__dirname + '/app/css/lib.css', 'utf8'), + 'index.css': fs.readFileSync(__dirname + '/app/css/index.css', 'utf8'), + 'transitions.css': fs.readFileSync(__dirname + '/app/css/transitions.css', 'utf8'), } -function bundleCss() { - var cssBundle = Object.keys(cssFiles).reduce(function(bundle, fileName){ +function bundleCss () { + var cssBundle = Object.keys(cssFiles).reduce(function (bundle, fileName) { var fileContent = cssFiles[fileName] var output = String() - output += '/*========== '+fileName+' ==========*/\n\n' + output += '/*========== ' + fileName + ' ==========*/\n\n' output += fileContent output += '\n\n' - return bundle+output + return bundle + output }, String()) return cssBundle |