More directly use melpa.packageList

This commit is contained in:
Steve Purcell 2014-10-26 14:42:52 +00:00
parent e9c21afa20
commit ac4ac3dc47

View file

@ -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());
};