Changeset 18676
- Timestamp:
- 11/21/16 17:18:08 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MobileIndico/indico.js
r18674 r18676 37 37 for (var slot in content) 38 38 slots.push([ content[slot].startDate.time, content[slot]]); 39 slots.sort(function(a, b) { return a[0] > b[0];});39 slots.sort(function(a, b) { return a[0]==b[0] ? 0 : (a[0] > b[0] ? 1 : -1) }); 40 40 41 41 // Loop over all slots (sessions)
Note:
See TracChangeset
for help on using the changeset viewer.