1
0
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:
Dan Barber 2013-01-24 11:16:07 +00:00
parent cc19323910
commit 8e29795823

View File

@ -9,14 +9,14 @@ define(['backbone', 'models/line'], function(Backbone, Line) {
var LinesCollection = Backbone.Collection.extend({ var LinesCollection = Backbone.Collection.extend({
// url: "http://api.tubeupdates.com/?method=get.status", // url: "http://api.tubeupdates.com/?method=get.status",
urls: { urls: {
now: "/test-data/now.json", now: "http://tubefeed.herokuapp.com/now.json",
tomorrow: "/test-data/tomorrow.json", tomorrow: "http://tubefeed.herokuapp.com/tomorrow.json",
weekend: "/test-data/weekend.json" weekend: "http://tubefeed.herokuapp.com/weekend.json"
}, },
model: Line, model: Line,
// sync: MySync, sync: MySync,
parse: function(data) { parse: function(data) {
return data.response.lines; return data.response.lines;