()
| 1182 | }; |
| 1183 | |
| 1184 | let _getCorrectContent = function () { |
| 1185 | fetch(location.href).then(res => res.text()).then(text => { |
| 1186 | formatOptions.originalSource = text; |
| 1187 | _didFormat(); |
| 1188 | }); |
| 1189 | }; |
| 1190 | |
| 1191 | /** |
| 1192 | * 从一个dom节点去获取json内容,这里面有很多的判断 |
no test coverage detected