Update theme.js

This commit is contained in:
Barış Soner Uşaklı
2021-01-16 12:37:37 -05:00
committed by GitHub
parent 80f77b58af
commit 13d181c18b
+4 -9
View File
@@ -1,9 +1,9 @@
(function(module) {
"use strict";
var Theme = {};
var Theme = module.exports;
Theme.defineWidgetAreas = function(areas, callback) {
Theme.defineWidgetAreas = async function(areas) {
areas = areas.concat([
{
'name': 'MOTD',
@@ -26,10 +26,5 @@
'location': 'footer'
}
]);
callback(null, areas);
return areas;
};
module.exports = Theme;
}(module));