mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +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-Wunderlist by PaViRo](https://github.com/paviro/MMM-Wunderlist)** <br> Displays your Wunderlist todos on your mirror ...
|
||||
|
||||
|
||||
|
||||
|
@ -45,4 +45,3 @@
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
|
||||
|
@ -91,6 +91,3 @@
|
||||
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";
|
||||
dom.appendChild(moduleContent);
|
||||
|
||||
|
||||
|
||||
updateDom(module, 0);
|
||||
}
|
||||
}
|
||||
@ -99,7 +97,6 @@ var MM = (function() {
|
||||
|
||||
if (!module.hidden) {
|
||||
|
||||
|
||||
if (!moduleNeedsUpdate(module, newContent)) {
|
||||
return;
|
||||
}
|
||||
@ -197,7 +194,6 @@ var MM = (function() {
|
||||
if (typeof callback === 'function') { callback(); }
|
||||
}, speed);
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
@ -320,8 +316,6 @@ var MM = (function() {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
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.exceptModule === 'undefined') { Object.defineProperty(modules, 'exceptModule', {value: exceptModule, enumerable: false}); }
|
||||
@ -329,8 +323,6 @@ var MM = (function() {
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
return {
|
||||
/* Public Methods */
|
||||
|
||||
@ -442,8 +434,3 @@ var MM = (function() {
|
||||
})();
|
||||
|
||||
MM.init();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -99,7 +99,6 @@ var Module = Class.extend({
|
||||
},
|
||||
|
||||
|
||||
|
||||
/*********************************************
|
||||
* The methods below don't need subclassing. *
|
||||
*********************************************/
|
||||
@ -285,6 +284,3 @@ Module.register = function(name, moduleDefinition) {
|
||||
Log.log('Module registered: ' + name);
|
||||
Module.definitions[name] = moduleDefinition;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
@ -7,8 +7,6 @@
|
||||
* MIT Licensed.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
var MMSocket = function(moduleName) {
|
||||
|
||||
var self = this;
|
||||
@ -36,5 +34,3 @@ var MMSocket = function(moduleName) {
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -239,4 +239,3 @@ module.exports = NodeHelper.create({
|
||||
fetcher.startFetch();
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -64,4 +64,3 @@ Module.register('clock',{
|
||||
return wrapper;
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -120,4 +120,3 @@ Module.register('compliments',{
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
@ -268,4 +268,3 @@ Module.register('currentweather',{
|
||||
return parseFloat(temperature).toFixed(1);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -24,4 +24,3 @@ Module.register('helloworld',{
|
||||
return wrapper;
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -73,4 +73,3 @@ The following properties can be configured:
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
@ -119,5 +119,3 @@ Module.register('newsfeed',{
|
||||
return string.charAt(0).toUpperCase() + string.slice(1);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
@ -70,7 +70,3 @@ module.exports = NodeHelper.create({
|
||||
fetcher.startFetch();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -277,4 +277,3 @@ Module.register('weatherforecast',{
|
||||
return parseFloat(temperature).toFixed(1);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user