$()

in src/assets/js/archive.js [105:117]


$(function () {
  if ($("#sdk-archives").length) {
    fetchFlutterReleases("windows", updateTable, updateTableFailed);
    fetchFlutterReleases("macos", updateTable, updateTableFailed);
    fetchFlutterReleases("linux", updateTable, updateTableFailed);
  }
  if ($(".download-latest-link-windows").length)
    fetchFlutterReleases("windows", updateDownloadLink, updateDownloadLinkFailed);
  if ($(".download-latest-link-macos").length)
    fetchFlutterReleases("macos", updateDownloadLink, updateDownloadLinkFailed);
  if ($(".download-latest-link-linux").length)
    fetchFlutterReleases("linux", updateDownloadLink, updateDownloadLinkFailed);
});