mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 14:32:25 -05:00
11 lines
234 B
JavaScript
11 lines
234 B
JavaScript
import { withPluginApi } from 'discourse/lib/plugin-api';
|
|
|
|
export default {
|
|
name: "apply-details",
|
|
|
|
initialize() {
|
|
withPluginApi('0.1', api => {
|
|
api.decorateCooked($elem => $("details", $elem).details());
|
|
});
|
|
}
|
|
};
|