function()

in scomp.js [280:299]


        function (aLink, aData) {
          if (aData && aData.bugs && aData.bugs.length) {
            gBugInfo[aData.bugs[0].id] = aData.bugs[0];
            beautifyBugzillaLink(aLink);
          } else if (aData && aData.error) {
            // On error, create fake bug info.
            gBugInfo[aLink.dataset["bugid"]] = {
              status: "ERROR",
              resolution: "",
              summary: aData.message,
            };
            beautifyBugzillaLink(aLink);
          } else {
            console.log(
              "ERROR - couldn't find info for bug " +
                aLink.dataset["bugid"] +
                "!"
            );
          }
        }.bind(undefined, link), // Prepend link to the argument list.