Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Weather.LocationAdapter = DS.Adapter.extend({
- host: "http://api.openweathermap.org/data/2.5/weather",
- cityKey: '?q=',
- find: function(store, type, id) {
- return $.getJSON(this.host + this.cityKey + id)
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement