mirror of
https://github.com/danbee/tube-status-server
synced 2025-03-04 08:39:12 +00:00
Add test feed URL's.
This commit is contained in:
parent
cc19323910
commit
8e29795823
@ -9,14 +9,14 @@ define(['backbone', 'models/line'], function(Backbone, Line) {
|
||||
var LinesCollection = Backbone.Collection.extend({
|
||||
// url: "http://api.tubeupdates.com/?method=get.status",
|
||||
urls: {
|
||||
now: "/test-data/now.json",
|
||||
tomorrow: "/test-data/tomorrow.json",
|
||||
weekend: "/test-data/weekend.json"
|
||||
now: "http://tubefeed.herokuapp.com/now.json",
|
||||
tomorrow: "http://tubefeed.herokuapp.com/tomorrow.json",
|
||||
weekend: "http://tubefeed.herokuapp.com/weekend.json"
|
||||
},
|
||||
|
||||
model: Line,
|
||||
|
||||
// sync: MySync,
|
||||
sync: MySync,
|
||||
|
||||
parse: function(data) {
|
||||
return data.response.lines;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user