◆少前百科是非盈利性、非官方的少女前线维基百科。
◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科
◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科
◆To foreigners,You can use twitter to contact us.
Icon Nyto Silver.png

“Widget:EnemyInfo/js”的版本间的差异

来自少前百科GFwiki
跳转至: 导航搜索
(更新)
第27行: 第27行:
 
xmlhttp_Spot.onreadystatechange = function() {
 
xmlhttp_Spot.onreadystatechange = function() {
 
if (this.readyState == 4 && this.status == 200) {  
 
if (this.readyState == 4 && this.status == 200) {  
     Spot = JSON.parse(this.responseText.slice(`{"spot_info":`.length, this.responseText.length - 1));  
+
     Spot = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};
第36行: 第36行:
 
xmlhttp_in_team.onreadystatechange = function() {
 
xmlhttp_in_team.onreadystatechange = function() {
 
if (this.readyState == 4 && this.status == 200) {  
 
if (this.readyState == 4 && this.status == 200) {  
     Enemy_in_team = JSON.parse(this.responseText.slice(`{"enemy_in_team_info":`.length, this.responseText.length - 1));  
+
     Enemy_in_team = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};
第54行: 第54行:
 
xmlhttp_team.onreadystatechange = function() {
 
xmlhttp_team.onreadystatechange = function() {
 
if (this.readyState == 4 && this.status == 200) {  
 
if (this.readyState == 4 && this.status == 200) {  
     Enemy_team = JSON.parse(this.responseText.slice(`{"enemy_team_info":`.length, this.responseText.length - 1));  
+
     Enemy_team = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};
第72行: 第72行:
 
xmlhttp_Building.onreadystatechange = function() {
 
xmlhttp_Building.onreadystatechange = function() {
 
if (this.readyState == 4 && this.status == 200) {  
 
if (this.readyState == 4 && this.status == 200) {  
     Building = JSON.parse(this.responseText.slice(`{"building_info":`.length, this.responseText.length - 1));  
+
     Building = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};
第81行: 第81行:
 
xmlhttp_Mission.onreadystatechange = function() {
 
xmlhttp_Mission.onreadystatechange = function() {
 
if (this.readyState == 4 && this.status == 200) {  
 
if (this.readyState == 4 && this.status == 200) {  
     Mission = JSON.parse(this.responseText.slice(`{"mission_info":`.length, this.responseText.length - 1));  
+
     Mission = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};
第99行: 第99行:
 
xmlhttp_Ally_team.onreadystatechange = function() {
 
xmlhttp_Ally_team.onreadystatechange = function() {
 
if (this.readyState == 4 && this.status == 200) {  
 
if (this.readyState == 4 && this.status == 200) {  
     Ally_team = JSON.parse(this.responseText.slice(`{"ally_team_info":`.length, this.responseText.length - 1));  
+
     Ally_team = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};

2021年6月3日 (四) 11:08的版本