You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
570 B
32 lines
570 B
/*jslint laxbreak:true */
|
|
/*jslint laxcomma:true */
|
|
/*jslint loopfunc:true */
|
|
/*jslint strict:true */
|
|
/*jslint browser:true */
|
|
/*jslint devel:true */
|
|
define([
|
|
"underscore"
|
|
, "backbone"
|
|
|
|
, "models/server"
|
|
|
|
, "backbone-localstorage"
|
|
]
|
|
, function (_, Backbone, ServerModel) {
|
|
"use strict";
|
|
|
|
var Server = Backbone.Collection.extend({
|
|
model: ServerModel
|
|
|
|
, localStorage: new Backbone.LocalStorage("daap-servers")
|
|
|
|
, initialize: function () {
|
|
//_.bindAll(this, "");
|
|
|
|
return Server.__super__.initialize.call(this, arguments);
|
|
}
|
|
|
|
});
|
|
|
|
return Server;
|
|
}); |