mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 18:35:17 +08:00
12 lines
227 B
JavaScript
12 lines
227 B
JavaScript
import { getPluginApi } from 'discourse/lib/plugin-api';
|
|
|
|
export default {
|
|
name: "apply-details",
|
|
|
|
initialize() {
|
|
const api = getPluginApi('0.1');
|
|
api.decorateCooked($elem => $("details", $elem).details());
|
|
}
|
|
|
|
};
|