Skip to content

Commit

Permalink
JSON形式チェックの不具合修正
Browse files Browse the repository at this point in the history
  • Loading branch information
youthkee committed Apr 21, 2017
1 parent ea9554e commit 7d49b36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions import.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ <h1>IMPORT</h1>
for(var j=0; j<setlistKeys.length; j++) {
setlistLabels[j] = 'track' + j;
}
setlistLabels.sort();

//setlistのkeyの一覧が「track0, track1, track2...」の形式と違っていたら、エラー用フラグを立てる
if (setlistKeys.toString() !== setlistLabels.toString()) {
Expand Down Expand Up @@ -292,6 +293,7 @@ <h1>IMPORT</h1>
for(var j=0; j<membersKeys.length; j++) {
memberLabels[j] = 'member' + j;
}
memberLabels.sort();

//membersのkeyの一覧が「member0, member1, member2...」の形式と違っていたら、エラー用フラグを立てる
if (membersKeys.toString() !== memberLabels.toString()) {
Expand Down
2 changes: 2 additions & 0 deletions import2.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ <h1>IMPORT</h1>
for(var j=0; j<setlistKeys.length; j++) {
setlistLabels[j] = 'track' + j;
}
setlistLabels.sort();

//setlistのkeyの一覧が「track0, track1, track2...」の形式と違っていたら、エラー用フラグを立てる
if (setlistKeys.toString() !== setlistLabels.toString()) {
Expand Down Expand Up @@ -277,6 +278,7 @@ <h1>IMPORT</h1>
for(var j=0; j<membersKeys.length; j++) {
memberLabels[j] = 'member' + j;
}
memberLabels.sort();

//membersのkeyの一覧が「member0, member1, member2...」の形式と違っていたら、エラー用フラグを立てる
if (membersKeys.toString() !== memberLabels.toString()) {
Expand Down

0 comments on commit 7d49b36

Please sign in to comment.