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:
Toby Zerner 2015-07-20 18:09:37 +09:30
parent a10da1f92a
commit 93c6bf026e

View File

@ -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
}