mirror of
https://github.com/correl/melpa.git
synced 2024-11-22 03:00:11 +00:00
More directly use melpa.packageList
This commit is contained in:
parent
e9c21afa20
commit
ac4ac3dc47
1 changed files with 1 additions and 2 deletions
|
@ -187,8 +187,7 @@
|
|||
this.filterTerms = m.prop(m.route.param('q') || '');
|
||||
this.sortBy = m.prop("name");
|
||||
this.sortAscending = m.prop(true);
|
||||
this.packageList = m.prop();
|
||||
melpa.packageList.then(this.packageList);
|
||||
this.packageList = melpa.packageList;
|
||||
this.matchingPackages = function() {
|
||||
return this.packageList().matchingPackages(this.filterTerms());
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue