Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixed parse error
  • Loading branch information
ota-meshi committed Sep 14, 2018
commit 1e5a12c9274b02a3d9ba693c2bb0efe9b00eebf1
14 changes: 7 additions & 7 deletions tests/fixtures/script-indent/indent-valid-fixture-01.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ var a = function () {
f = g; // <-
};

function c(a, b) {
function c1(a, b) {
if (a || (a &&
b)) {
return d;
Expand Down Expand Up @@ -463,14 +463,14 @@ if (
c++; // <-
}

function c(d) {
function c2(d) {
return {
e: function(f, g) {
}
};
}

function a(b) {
function a1(b) {
switch(x) {
case 1:
if (foo) {
Expand All @@ -479,14 +479,14 @@ function a(b) {
}
}

function a(b) {
function a2(b) {
switch(x) {
case 1:
c;
}
}

function a(b) {
function a3(b) {
switch(x) {
case 1: c;
}
Expand All @@ -503,7 +503,7 @@ function test() {
a();
}

function a(b) {
function a4(b) {
switch(x) {
case 1:
{ // <-
Expand All @@ -523,7 +523,7 @@ switch (a) {
c();
}

function test(x) {
function test1(x) {
switch (x) {
case 1:
return function() {
Expand Down