mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:31:44 +08:00
![Joffrey JAFFEUX](/assets/img/avatar_default.png)
Fixes bugs, simplifies code, more default files. General idea, more is more here as it's easier to just delete things than reading and passing all the options.
14 lines
361 B
Plaintext
14 lines
361 B
Plaintext
import { withPluginApi } from "discourse/lib/plugin-api";
|
|
|
|
function initialize<%= classified_name %>(api) {
|
|
// https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/lib/plugin-api.js.es6
|
|
}
|
|
|
|
export default {
|
|
name: "<%= dasherized_name %>",
|
|
|
|
initialize() {
|
|
withPluginApi("0.8.31", initialize<%= classified_name %>);
|
|
}
|
|
};
|