mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 03:00:11 +00:00
Allow searching for github packages by user on web page
This commit is contained in:
parent
558a3d76c4
commit
1f11938d60
1 changed files with 3 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
"downloads", "fetcher", "recipeURL", "packageURL", "sourceURL", "oldNames"].map(function(p) {
|
||||
this[p] = data[p];
|
||||
}.bind(this));
|
||||
this._searchText = _([data.name, data.description, data.version])
|
||||
this._searchText = _([data.name, data.description, data.version].concat(data.searchExtra || []))
|
||||
.compact().valueOf().join(' ').toLowerCase();
|
||||
this.readmeURL = "/packages/" + data.name + "-readme.txt";
|
||||
this.badgeURL = "/packages/" + data.name + "-badge.svg";
|
||||
|
@ -140,7 +140,8 @@
|
|||
recipeURL: "https://github.com/milkypostman/melpa/blob/master/recipes/" + name,
|
||||
packageURL: "packages/" + name + "-" + version + "." + (built.type == "single" ? "el" : "tar"),
|
||||
sourceURL: calculateSourceURL(name, recipe),
|
||||
oldNames: oldNames
|
||||
oldNames: oldNames,
|
||||
searchExtra: [recipe.repo]
|
||||
}));
|
||||
return pkgs;
|
||||
}, []));
|
||||
|
|
Loading…
Reference in a new issue