mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
23 lines
491 B
JavaScript
23 lines
491 B
JavaScript
NEWSBLUR.Views.SocialPage = Backbone.View.extend({
|
|
|
|
el: 'body',
|
|
|
|
initialize: function() {
|
|
this.initialize_stories();
|
|
},
|
|
|
|
initialize_stories: function($stories) {
|
|
$stories = $stories || this.$el;
|
|
|
|
$('.NB-story', $stories).each(function() {
|
|
new NEWSBLUR.Views.SocialPageStory({el: $(this)});
|
|
});
|
|
}
|
|
|
|
});
|
|
|
|
$(document).ready(function() {
|
|
|
|
NEWSBLUR.app.social_page = new NEWSBLUR.Views.SocialPage();
|
|
|
|
});
|