From 93c6bf026e90c65304373818403b411dcf7e2245 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 20 Jul 2015 18:09:37 +0930 Subject: [PATCH] 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 --- framework/core/js/lib/extend.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/framework/core/js/lib/extend.js b/framework/core/js/lib/extend.js index 2aadcdea6..fe55c7012 100644 --- a/framework/core/js/lib/extend.js +++ b/framework/core/js/lib/extend.js @@ -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 -}