changed directions to walking / public transport

This commit is contained in:
Martin Donnelly 2018-10-11 17:14:18 +01:00
parent a58378fe20
commit 3651c4fb67
2 changed files with 7 additions and 9 deletions

View File

@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const CACHE_VERSION = { 'version': '0.0.811' };
const CACHE_VERSION = { 'version': '0.0.812' };
const PRECACHE = `jubileeData-${CACHE_VERSION.version}`;
const RUNTIME = 'runtime';

View File

@ -31,7 +31,7 @@ const TrafficModel = Backbone.Model.extend({
if (day !== 0 && day !== 6)
doRequest = (((hour >= 7) && (hour <= 9)) || ((hour >= 17) && (hour <= 19)));
// doRequest = true;
// doRequest = true;
const delay = doRequest ? 600000 : toHour();
@ -66,13 +66,11 @@ const TrafficModel = Backbone.Model.extend({
return;
const myCoords = { 'home': {
'lat':51.490002, 'long':-0.140245
},
'work':{
'lat':51.5084707, 'long':-0.068798
} };
'lat':51.490002, 'long':-0.140245
},
'work':{
'lat':51.5084707, 'long':-0.068798
} };
// 55.872407, -3.549003