UX-33 * De-arrow a fun because we're using the old react tools not babel

This commit is contained in:
Josh McDonald 2016-03-22 19:45:16 +11:00
parent 0de69258e7
commit f20319d812
1 changed files with 1 additions and 1 deletions

View File

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