UX-33 * De-arrow a fun because we're using the old react tools not babel
This commit is contained in:
parent
0de69258e7
commit
f20319d812
|
@ -137,7 +137,7 @@ ExtensionPoint.getExtensions = function getExtensions(name) {
|
|||
* Register the existence of an ExtensionPoint and load the extensions. onLoad is (extensions)=>{}
|
||||
*/
|
||||
ExtensionPoint.registerExtensionPoint = function registerExtensionPoint (name, onLoad) {
|
||||
store.loadExtensions(name, (extensions) => {
|
||||
store.loadExtensions(name, function (extensions) {
|
||||
if (typeof onLoad === "function") onLoad(extensions);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue