This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/app/assets/javascripts/discourse/views/prepend_post_view.js
T

17 lines
326 B
JavaScript

/**
This view allows us to prepend content to a post (for use in plugins)
@class PrependPostView
@extends Discourse.View
@namespace Discourse
@module Discourse
**/
Discourse.PrependPostView = Em.ContainerView.extend({
init: function() {
this._super();
return this.trigger('prependPostContent');
}
});