mirror of
https://github.com/Ekokumppanit/Lentolaskuri.git
synced 2026-02-17 07:48:10 +00:00
Initial commit
This commit is contained in:
19
app/scripts/collections/route.js
Normal file
19
app/scripts/collections/route.js
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
});
|
||||
Reference in New Issue
Block a user