duckduckgo / zeroclickinfo-spice

DuckDuckGo Instant Answers based on JavaScript (JSON) APIs
https://duckduckhack.com/
Other
548 stars 942 forks source link

Remove all uses of "template_group" #837

Closed moollaza closed 10 years ago

moollaza commented 10 years ago

This is the old syntax, any instance of template_group: 'foo' should be switched to the canonical method:

templates: {
    group: 'foo',
    ...
}

These are the Spice's using the old syntax:

share/spice/quixey/quixey.js
212:        template_group: 'products',

share/spice/bitcoin/bitcoin.js
79:         template_group: 'info',

share/spice/airlines/airlines.js
266:    template_group: 'base',

share/spice/amazon/amazon.js
60:            template_group: 'products',

share/spice/recipes/recipes.js
159:        template_group: 'products_simple',

share/spice/github_jobs/github_jobs.js
32:         template_group: 'base',

share/spice/gravatar/gravatar.js
49:        template_group: 'info',

share/spice/is_it_up/is_it_up.js
21:            template_group: 'info',

share/spice/lastfm/artist/lastfm_artist.js
21:            template_group: 'info',
jagtalon commented 10 years ago

Fixed in https://github.com/duckduckgo/zeroclickinfo-spice/pull/901