This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('uiModules') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('networkMonitor').init(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.Departures.comparator = sortDepartures; | |
$.Departures.reset([]); | |
var sortByName = true; | |
function transformDeparture(model){ | |
if (!model || !model.get('destination')){ | |
console.warn(model.toJSON()); | |
} | |
var time = require('Date').formatTime(model.get('time')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Download and install widget loader : https://github.com/FokkeZB/nl.fokkezb.loading | |
Alloy.Globals.loading = Alloy.createWidget("nl.fokkezb.loading"); |