Skip to content

Commit 2e6982a

Browse files
Merge pull request #65 from yktsr/64-wrong-line-no
#64 delete showing line-no when syntax error
2 parents 21f60a5 + 96f378d commit 2e6982a

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

Text2Frame.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// http://opensource.org/licenses/mit-license.php
77
// ----------------------------------------------------------------------------
88
// Version
9+
// 1.4.1 2020/08/16: 文法エラー時に行数を表示する機能を削除
910
// 1.4.0 2020/08/14:
1011
// ・条件分岐タグ追加
1112
// ・ループタグ追加
@@ -3604,8 +3605,6 @@ if(typeof PluginManager === 'undefined'){
36043605
}else{
36053606
console.error(text);
36063607
throw new Error('Syntax error. / 文法エラーです。'
3607-
+ 'Please check line ' + (i+1) + '. / '
3608-
+ (i+1) + '行目付近を確認してください / '
36093608
+ text.replace(/</g, ' ').replace(/>/g, ' '));
36103609
}
36113610
}
@@ -3621,8 +3620,6 @@ if(typeof PluginManager === 'undefined'){
36213620
}else{
36223621
console.error(text);
36233622
throw new Error('Syntax error. / 文法エラーです。'
3624-
+ 'Please check line ' + (i+1) + '. / '
3625-
+ (i+1) + '行目付近を確認してください / '
36263623
+ text.replace(/</g, ' ').replace(/>/g, ' '));
36273624
}
36283625
}
@@ -3646,8 +3643,6 @@ if(typeof PluginManager === 'undefined'){
36463643
}else{
36473644
console.error(text);
36483645
throw new Error('Syntax error. / 文法エラーです。'
3649-
+ 'Please check line ' + (i+1) + '. / '
3650-
+ (i+1) + '行目付近を確認してください / '
36513646
+ text.replace(/</g, ' ').replace(/>/g, ' '));
36523647
}
36533648
}
@@ -3674,8 +3669,6 @@ if(typeof PluginManager === 'undefined'){
36743669
}else{
36753670
console.error(text);
36763671
throw new Error('Syntax error. / 文法エラーです。'
3677-
+ 'Please check line ' + (i+1) + '. / '
3678-
+ (i+1) + '行目付近を確認してください / '
36793672
+ text.replace(/</g, ' ').replace(/>/g, ' '));
36803673
}
36813674
}
@@ -3750,8 +3743,6 @@ if(typeof PluginManager === 'undefined'){
37503743
}else{
37513744
console.error(text);
37523745
throw new Error('Syntax error. / 文法エラーです。'
3753-
+ 'Please check line ' + (i+1) + '. / '
3754-
+ (i+1) + '行目付近を確認してください / '
37553746
+ text.replace(/</g, ' ').replace(/>/g, ' '));
37563747
}
37573748
}
@@ -3766,8 +3757,6 @@ if(typeof PluginManager === 'undefined'){
37663757
}catch(e){
37673758
console.error(text);
37683759
throw new Error('Syntax error. / 文法エラーです。'
3769-
+ 'Please check line ' + (i+1) + '. / '
3770-
+ (i+1) + '行目付近を確認してください / '
37713760
+ text.replace(/</g, ' ').replace(/>/g, ' '));
37723761
}
37733762
text = text.replace(background[0], '');
@@ -3783,8 +3772,6 @@ if(typeof PluginManager === 'undefined'){
37833772
}catch(e){
37843773
console.error(text);
37853774
throw new Error('Syntax error. / 文法エラーです。'
3786-
+ 'Please check line ' + (i+1) + '. / '
3787-
+ (i+1) + '行目付近を確認してください / '
37883775
+ text.replace(/</g, ' ').replace(/>/g, ' '));
37893776
}
37903777
text = text.replace(window_position[0], '');

0 commit comments

Comments
 (0)