mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Huge cleanup of white space
This commit is contained in:
parent
e448e87252
commit
576c668d84
@ -39,6 +39,3 @@ Things that still have to be implemented or changed.
|
|||||||
- **[MMM-Facial-Recognition by PaViRo](https://github.com/paviro/MMM-Facial-Recognition)** <br> Facial recognition and module swapping based on the current user ...
|
- **[MMM-Facial-Recognition by PaViRo](https://github.com/paviro/MMM-Facial-Recognition)** <br> Facial recognition and module swapping based on the current user ...
|
||||||
|
|
||||||
- **[MMM-Wunderlist by PaViRo](https://github.com/paviro/MMM-Wunderlist)** <br> Displays your Wunderlist todos on your mirror ...
|
- **[MMM-Wunderlist by PaViRo](https://github.com/paviro/MMM-Wunderlist)** <br> Displays your Wunderlist todos on your mirror ...
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,4 +45,3 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,6 +91,3 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -249,10 +249,3 @@ var Loader = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
13
js/main.js
13
js/main.js
@ -47,8 +47,6 @@ var MM = (function() {
|
|||||||
moduleContent.className = "module-content";
|
moduleContent.className = "module-content";
|
||||||
dom.appendChild(moduleContent);
|
dom.appendChild(moduleContent);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
updateDom(module, 0);
|
updateDom(module, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -99,7 +97,6 @@ var MM = (function() {
|
|||||||
|
|
||||||
if (!module.hidden) {
|
if (!module.hidden) {
|
||||||
|
|
||||||
|
|
||||||
if (!moduleNeedsUpdate(module, newContent)) {
|
if (!moduleNeedsUpdate(module, newContent)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -197,7 +194,6 @@ var MM = (function() {
|
|||||||
if (typeof callback === 'function') { callback(); }
|
if (typeof callback === 'function') { callback(); }
|
||||||
}, speed);
|
}, speed);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -320,8 +316,6 @@ var MM = (function() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (typeof modules.withClass === 'undefined') { Object.defineProperty(modules, 'withClass', {value: withClass, enumerable: false}); }
|
if (typeof modules.withClass === 'undefined') { Object.defineProperty(modules, 'withClass', {value: withClass, enumerable: false}); }
|
||||||
if (typeof modules.exceptWithClass === 'undefined') { Object.defineProperty(modules, 'exceptWithClass', {value: exceptWithClass, enumerable: false}); }
|
if (typeof modules.exceptWithClass === 'undefined') { Object.defineProperty(modules, 'exceptWithClass', {value: exceptWithClass, enumerable: false}); }
|
||||||
if (typeof modules.exceptModule === 'undefined') { Object.defineProperty(modules, 'exceptModule', {value: exceptModule, enumerable: false}); }
|
if (typeof modules.exceptModule === 'undefined') { Object.defineProperty(modules, 'exceptModule', {value: exceptModule, enumerable: false}); }
|
||||||
@ -329,8 +323,6 @@ var MM = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
/* Public Methods */
|
/* Public Methods */
|
||||||
|
|
||||||
@ -442,8 +434,3 @@ var MM = (function() {
|
|||||||
})();
|
})();
|
||||||
|
|
||||||
MM.init();
|
MM.init();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,7 +99,6 @@ var Module = Class.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* The methods below don't need subclassing. *
|
* The methods below don't need subclassing. *
|
||||||
*********************************************/
|
*********************************************/
|
||||||
@ -285,6 +284,3 @@ Module.register = function(name, moduleDefinition) {
|
|||||||
Log.log('Module registered: ' + name);
|
Log.log('Module registered: ' + name);
|
||||||
Module.definitions[name] = moduleDefinition;
|
Module.definitions[name] = moduleDefinition;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var MMSocket = function(moduleName) {
|
var MMSocket = function(moduleName) {
|
||||||
|
|
||||||
var self = this;
|
var self = this;
|
||||||
@ -36,5 +34,3 @@ var MMSocket = function(moduleName) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -239,4 +239,3 @@ module.exports = NodeHelper.create({
|
|||||||
fetcher.startFetch();
|
fetcher.startFetch();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -64,4 +64,3 @@ Module.register('clock',{
|
|||||||
return wrapper;
|
return wrapper;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -120,4 +120,3 @@ Module.register('compliments',{
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -268,4 +268,3 @@ Module.register('currentweather',{
|
|||||||
return parseFloat(temperature).toFixed(1);
|
return parseFloat(temperature).toFixed(1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -24,4 +24,3 @@ Module.register('helloworld',{
|
|||||||
return wrapper;
|
return wrapper;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -73,4 +73,3 @@ The following properties can be configured:
|
|||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -119,5 +119,3 @@ Module.register('newsfeed',{
|
|||||||
return string.charAt(0).toUpperCase() + string.slice(1);
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -70,7 +70,3 @@ module.exports = NodeHelper.create({
|
|||||||
fetcher.startFetch();
|
fetcher.startFetch();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -277,4 +277,3 @@ Module.register('weatherforecast',{
|
|||||||
return parseFloat(temperature).toFixed(1);
|
return parseFloat(temperature).toFixed(1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user