discourse/plugins/discourse-details/assets/javascripts/initializers/apply-details.js.es6
2016-03-31 17:40:54 -04:00

12 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());
});
}
};