Fixing more strict json errors
This commit is contained in:
@@ -4,14 +4,13 @@
|
|||||||
function () {
|
function () {
|
||||||
hall.comm.getErrata(function(json){
|
hall.comm.getErrata(function(json){
|
||||||
//$("#errata-readout").text(JSON.stringify(json, null, 2));
|
//$("#errata-readout").text(JSON.stringify(json, null, 2));
|
||||||
|
|
||||||
var top = $("<div style='display:flex; flex-direction:column; gap:20px; justify-content:center; align-items:center;'></div>");
|
var top = $("<div style='display:flex; flex-direction:column; gap:20px; justify-content:center; align-items:center;'></div>");
|
||||||
|
|
||||||
var results = {};
|
var results = {};
|
||||||
for(var bp in json) {
|
for(var bp in json) {
|
||||||
var info = json[bp];
|
var info = json[bp];
|
||||||
var eid = info.ErrataIDs.PC;
|
var eid = info.errataIDs.PC;
|
||||||
var text = info.LinkText;
|
var text = info.linkText;
|
||||||
text = text.replace(eid, bp + "," + eid);
|
text = text.replace(eid, bp + "," + eid);
|
||||||
//console.log(text);
|
//console.log(text);
|
||||||
//result.append(text);
|
//result.append(text);
|
||||||
|
|||||||
Reference in New Issue
Block a user