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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
(function(module) {
"use strict"; "use strict";
var Theme = {}; var Theme = module.exports;
Theme.defineWidgetAreas = function(areas, callback) { Theme.defineWidgetAreas = async function(areas) {
areas = areas.concat([ areas = areas.concat([
{ {
'name': 'MOTD', 'name': 'MOTD',
@ -26,10 +26,5 @@
'location': 'footer' 'location': 'footer'
} }
]); ]);
return areas;
callback(null, areas);
}; };
module.exports = Theme;
}(module));