Your IP : 216.73.216.147


Current Path : /home/kamilrogam/komp/2018/180513/git/simpleKanban/node_modules/clean-css/lib/stringifier/
Upload File :
Current File : /home/kamilrogam/komp/2018/180513/git/simpleKanban/node_modules/clean-css/lib/stringifier/simple.js

var all = require('./helpers').all;

function store(token, context) {
  context.output.push(typeof token == 'string' ? token : token[0]);
}

function stringify(tokens, options, restoreCallback) {
  var context = {
    keepBreaks: options.keepBreaks,
    output: [],
    spaceAfterClosingBrace: options.compatibility.properties.spaceAfterClosingBrace,
    store: store
  };

  all(tokens, context, false);

  return {
    styles: restoreCallback(context.output.join('')).trim()
  };
}

module.exports = stringify;