mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 04:45:17 +00:00
First round of undef fixes
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = NodeHelper.create({
|
||||
|
||||
var promises = [];
|
||||
|
||||
for (moduleName in modules) {
|
||||
for (var moduleName in modules) {
|
||||
if (!this.ignoreUpdateChecking(moduleName)) {
|
||||
// Default modules are included in the main MagicMirror repo
|
||||
var moduleFolder = path.normalize(__dirname + "/../../" + moduleName);
|
||||
|
@@ -74,8 +74,8 @@ Module.register("updatenotification", {
|
||||
var wrapper = document.createElement("div");
|
||||
if(this.suspended === false){
|
||||
// process the hash of module info found
|
||||
for(key of Object.keys(this.moduleList)){
|
||||
let m= this.moduleList[key];
|
||||
for(var key of Object.keys(this.moduleList)){
|
||||
let m = this.moduleList[key];
|
||||
|
||||
var message = document.createElement("div");
|
||||
message.className = "small bright";
|
||||
|
Reference in New Issue
Block a user