Skip to content

Commit

Permalink
Fix linux get sdk links (dart-lang#2081)
Browse files Browse the repository at this point in the history
Closes dart-lang#2054

Also cleaned up the list and links, dropping the unused CSS classes and custom data attributes.
  • Loading branch information
chalin authored Nov 11, 2019
1 parent 853e221 commit 9264f7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/tools/sdk/_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,8 @@ $ sudo apt-get install dart

Alternatively, download Dart SDK as Debian package in the `.deb` package format.

{:.downloads}
- [Stable channel](#){:.download-link #debian-link-stable
data-bits="64" data-os="debian" data-tool="sdk"}
- [Dev channel](#){:.download-link #debian-link-dev
data-bits="64" data-os="debian" data-tool="sdk"}
- [Stable channel](#){:.debian-link-stable}
- [Dev channel](#){:.debian-link-dev}


#### Modify PATH for access to all Dart binaries
Expand Down
4 changes: 2 additions & 2 deletions src/tools/sdk/archive/assets/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ var updatePlaceholders = function(channel, version) {
});
var download = 'https://storage.googleapis.com/dart-archive/channels/' + channel + '/release/latest/linux_packages/dart_' + version + '-1_amd64.deb';
if (channel == 'stable') {
var target = $("#debian-link-stable");
var target = $(".debian-link-stable");
target.attr('href', download);
} else {
var target = $("#debian-link-dev");
var target = $(".debian-link-dev");
target.attr('href', download);
}
}
Expand Down

0 comments on commit 9264f7e

Please sign in to comment.