diff --git a/current b/current
deleted file mode 120000
index ec24c6a3f709..000000000000
--- a/current
+++ /dev/null
@@ -1 +0,0 @@
-v0.0.212
\ No newline at end of file
diff --git a/list/index.html b/rust-1.29.0/index.html
similarity index 87%
rename from list/index.html
rename to rust-1.29.0/index.html
index 6892857af4e9..e11f2eeba3b3 100644
--- a/list/index.html
+++ b/rust-1.29.0/index.html
@@ -4,7 +4,7 @@
-
-
+
@@ -164,6 +167,19 @@
});
}
+ function selectGroup($scope, selectedGroup) {
+ var groups = $scope.groups;
+ for (var group in groups) {
+ if (groups.hasOwnProperty(group)) {
+ if (group === selectedGroup) {
+ groups[group] = true;
+ } else {
+ groups[group] = false;
+ }
+ }
+ }
+ }
+
angular.module("clippy", [])
.filter('markdown', function ($sce) {
return function (text) {
@@ -220,6 +236,11 @@
return result;
}, {});
+ var selectedGroup = getQueryVariable("sel");
+ if (selectedGroup) {
+ selectGroup($scope, selectedGroup.toLowerCase());
+ }
+
scrollToLintByURL($scope);
})
.error(function (data) {
@@ -240,6 +261,17 @@
}, false);
});
})();
+
+ function getQueryVariable(variable) {
+ var query = window.location.search.substring(1);
+ var vars = query.split('&');
+ for (var i = 0; i < vars.length; i++) {
+ var pair = vars[i].split('=');
+ if (decodeURIComponent(pair[0]) == variable) {
+ return decodeURIComponent(pair[1]);
+ }
+ }
+ }