mirror of
https://github.com/Ekokumppanit/Lentolaskuri.git
synced 2026-01-26 11:13:58 +00:00
20 lines
305 B
JavaScript
20 lines
305 B
JavaScript
define([
|
|
'lodash',
|
|
'backbone',
|
|
'../models/leg'
|
|
], function (_, Backbone, Leg) {
|
|
|
|
// var stages = [];
|
|
// var data = {};
|
|
var num = 1;
|
|
|
|
var Route = Backbone.Collection.extend({
|
|
model: Leg,
|
|
comparator: function (model) {
|
|
return model.get('order');
|
|
}
|
|
});
|
|
|
|
return Route;
|
|
});
|