Update theme.js
This commit is contained in:
parent
80f77b58af
commit
13d181c18b
17
lib/theme.js
17
lib/theme.js
@ -1,9 +1,9 @@
|
||||
(function(module) {
|
||||
"use strict";
|
||||
|
||||
var Theme = {};
|
||||
"use strict";
|
||||
|
||||
Theme.defineWidgetAreas = function(areas, callback) {
|
||||
var Theme = module.exports;
|
||||
|
||||
Theme.defineWidgetAreas = async function(areas) {
|
||||
areas = areas.concat([
|
||||
{
|
||||
'name': 'MOTD',
|
||||
@ -26,10 +26,5 @@
|
||||
'location': 'footer'
|
||||
}
|
||||
]);
|
||||
|
||||
callback(null, areas);
|
||||
};
|
||||
|
||||
module.exports = Theme;
|
||||
|
||||
}(module));
|
||||
return areas;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user