mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 14:11:05 +00:00
15 lines
No EOL
363 B
JavaScript
15 lines
No EOL
363 B
JavaScript
NEWSBLUR.Models.SocialSubscription = Backbone.Model.extend({
|
|
|
|
initialize: function() {
|
|
if (!this.get('page_url')) {
|
|
this.set('page_url', '/social/page/' + this.get('user_id'));
|
|
}
|
|
}
|
|
|
|
});
|
|
|
|
NEWSBLUR.Collections.SocialSubscriptions = Backbone.Collection.extend({
|
|
|
|
model : NEWSBLUR.Models.SocialSubscription
|
|
|
|
}); |