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([
|
areas = areas.concat([
|
||||||
{
|
{
|
||||||
'name': 'MOTD',
|
'name': 'MOTD',
|
||||||
@ -26,10 +26,5 @@
|
|||||||
'location': 'footer'
|
'location': 'footer'
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
return areas;
|
||||||
callback(null, areas);
|
};
|
||||||
};
|
|
||||||
|
|
||||||
module.exports = Theme;
|
|
||||||
|
|
||||||
}(module));
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user