ignore trailing commas when inferring newlines - fixes #1304

This commit is contained in:
Sebastian McKenzie
2015-05-31 09:46:05 +01:00
parent 1436753e6d
commit 236086bee5
4 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
"use strict";
var obj = babelHelpers.defineProperty({
first: "first" }, "second", "second");
first: "first"
}, "second", "second");

View File

@@ -5,7 +5,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var foo = _extends({}, bar);
var foo = _extends({}, bar, {
bar: "foo" });
bar: "foo"
});
var foo = _extends({}, bar, {
bar: "foo"