From efc001c01d120def595f79e977bd34c72c235208 Mon Sep 17 00:00:00 2001 From: tophf Date: Mon, 28 Aug 2017 15:15:49 +0300 Subject: [PATCH] fixup a44b4e78: css_beautify is exposed via exports --- edit/edit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edit/edit.js b/edit/edit.js index 71820ffb..3152c5dd 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -1,6 +1,6 @@ /* eslint brace-style: 0, operator-linebreak: 0 */ /* global CodeMirror parserlib */ -/* global exports css_beautify onDOMscripted */ +/* global exports onDOMscripted */ /* global CSSLint initLint linterConfig updateLintReport renderLintReport updateLinter */ 'use strict'; @@ -1125,7 +1125,7 @@ function beautify(event) { [].concat.apply([], cm.doc.sel.ranges.map(r => [Object.assign({}, r.anchor), Object.assign({}, r.head)])); const text = cm.getValue(); - const newText = css_beautify(text, options); + const newText = exports.css_beautify(text, options); if (newText !== text) { if (!cm.beautifyChange || !cm.beautifyChange[cm.changeGeneration()]) { // clear the list if last change wasn't a css-beautify