mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 12:15:48 +08:00
d83f99fc2e
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 %>);
|
|
}
|
|
};
|