/*eslint-env node*/
/*eslint vars-on-top: 0*/

var Autocompile;
var CompileView = require('./less-postcss-autocompile-view.js');
var CompositeDisposable = require('atom');

module.exports = Autocompile = {

	lessAutocompileView: null,

	activate(state) {
		return this.autocompileView = new CompileView(state.lessAutocompileViewState);
	},

	deactivate() {
		return this.autocompileView.destroy();
	},

	serialize() {
		return {
			lessAutocompileViewState: this.autocompileView.serialize()
		};
	}

};

/*eslint-env node*/
/*eslint vars-on-top: 0*/

var Autocompile;
var CompileView = require('./less-postcss-autocompile-view.js');
var CompositeDisposable = require('atom');

module.exports = Autocompile = {

	lessAutocompileView: null,

	activate(state) {
		this.autocompileView = new CompileView(state.lessAutocompileViewState);
	},

	deactivate() {
		this.autocompileView.destroy();
	},

	serialize() {
		return {
			lessAutocompileViewState: this.autocompileView.serialize()
		};
	}

};

Remove unnecessary returns left by coffee -> es6 transform