discourse/plugins/discourse-details/assets/javascripts/initializers/apply-details.js.es6

12 lines
227 B
Plaintext
Raw Normal View History

import { getPluginApi } from 'discourse/lib/plugin-api';
2015-11-30 18:32:01 +08:00
export default {
name: "apply-details",
initialize() {
const api = getPluginApi('0.1');
api.decorateCooked($elem => $("details", $elem).details());
2015-11-30 18:32:01 +08:00
}
};