Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 4ee4b6b

Browse files
committed
Remove unneeded code
1 parent b78baa7 commit 4ee4b6b

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

js/collections/usersShortCl.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
var Backbone = require('backbone'),
2-
app = require('../App.js').getApp(),
32
userShort = require('../models/userShortMd');
43

54
module.exports = Backbone.Collection.extend({
6-
model: userShort,
7-
8-
initialize: function(models, options){
9-
10-
/*
11-
if (!options.fetchURL) {
12-
throw new Error('Please provide a collection.');
13-
}
14-
15-
this.fetchURL = options.fetchURL;*/
16-
},
17-
18-
19-
url: function() {
20-
return app.serverConfigs.getActive().getServerBaseUrl() + '/' + this.fetchURL;
21-
}
5+
model: userShort
226
});

0 commit comments

Comments
 (0)