mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 01:36:53 +08:00
Get rid of extension convenience method
We might reintroduce this later, but for now I want to keep the extensions API as light as possible and get input before we add stuff
This commit is contained in:
parent
605c56ce3c
commit
930ddf3253
|
@ -59,17 +59,3 @@ export function override(object, method, newMethod) {
|
|||
return newMethod.apply(this, [original.bind(this)].concat(args));
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a notification type.
|
||||
*
|
||||
* @param {String} name The name of the notification type (equivalent to the
|
||||
* serialized `contentType`)
|
||||
* @param {Object} Component The constructor of the component that this
|
||||
* notification type should be rendered with
|
||||
* @param {String|Array} label vDOM to render a label in the notification
|
||||
* preferences grid for this notification type
|
||||
*/
|
||||
export function notificationType(name, Component, label) {
|
||||
// TODO
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user