Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function updateProcessor(settings) {
settings = settings || {};
playgroundProcessor = postcss()
.use(cssvariables(settings.get('postcss-css-variables').toObject()));
// Whenever the plugin option updates,
// we need to update the output
updateOutput();
}
import events from 'events';
let EventEmitter = events.EventEmitter;
import postcss from 'postcss';
import cssvariables from 'postcss-css-variables';
let CHANGE_EVENT = 'CHANGE_EVENT';
let keyboardActionStream = assign({}, EventEmitter.prototype);
let playgroundProcessor = postcss()
.use(cssvariables());
let postcssUnprocessedInputText = '';
let processingResult = Immutable.Map({
input: '',
output: '',
error: null
});
let PlaygroundStore = assign({}, EventEmitter.prototype, {
getKeyboardActionStream: function() {
return keyboardActionStream;
},