Skip to content

Commit c3e6fcf

Browse files
committed
fixed beautify issues
1 parent fe0c8ca commit c3e6fcf

2 files changed

Lines changed: 8 additions & 11 deletions

File tree

lib/webpack.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,4 @@ exportPlugins(exports.optimize = {}, "./optimize", [
106106
"OccurrenceOrderPlugin",
107107
"UglifyJsPlugin"
108108
]);
109-
exportPlugins(exports.dependencies = {}, "./dependencies", [
110-
]);
109+
exportPlugins(exports.dependencies = {}, "./dependencies", []);

test/Parser.test.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,13 @@ describe("Parser", function() {
202202

203203
it("should parse comments", function() {
204204
var source = "//comment1\n/*comment2*/";
205-
var state = [
206-
{
207-
type: 'Line',
208-
value: 'comment1'
209-
}, {
210-
type: 'Block',
211-
value: 'comment2'
212-
}
213-
];
205+
var state = [{
206+
type: 'Line',
207+
value: 'comment1'
208+
}, {
209+
type: 'Block',
210+
value: 'comment2'
211+
}];
214212

215213
var testParser = new Parser({});
216214

0 commit comments

Comments
 (0)