CharmStore Class
The CharmStore class.
Item Index
Methods
Methods
_normalizeCharms
()
Convert the charm data into Charm instances, using only id and relevance. Group them into series. The series are arranged with first the defaultSeries, if any, and then all other available series arranged from newest to oldest. Within each series, official charms come first, sorted by relevance if available and package name otherwise; and then owned charms follow, sorted again by relevance, if available, and package name otherwise.
find
(
Object
-
query
Parameters:
-
queryStringEither a string that is passed directly to the search url, or a hash that is marshalled to the correct format (e.g., {series:precise owner:charmers}).
Returns:
Object:
CharmId instances grouped by series and ordered
within the groups according to the CharmId compare function.
