revert changes to use strict literal newline generation

This commit is contained in:
Sebastian McKenzie 2015-07-21 22:44:35 +01:00
parent 3f0ac54032
commit b277f2c986

View File

@ -103,8 +103,8 @@ exports.nodes = {
* Test if Literal needs whitespace.
*/
Literal(node, parent) {
if (t.isExpressionStatement(parent) || t.isProgram(parent)) {
Literal(node) {
if (node.value === "use strict") {
return {
after: true
};