Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Weather.LocationAdapter = DS.Adapter.extend({
  2. host: "http://api.openweathermap.org/data/2.5/weather",
  3. cityKey: '?q=',
  4. find: function(store, type, id) {
  5. return $.getJSON(this.host + this.cityKey + id)
  6. }
  7. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement