Run eslint over files, see what gets fixed automatically and clean up

This commit is contained in:
rejas 2020-07-27 14:24:30 +02:00
parent f4eae72c48
commit 43bcf4ab98
11 changed files with 72 additions and 24 deletions

View file

@ -57,7 +57,9 @@
: prop[name];
}
// The dummy class constructor
/**
* The dummy class constructor
*/
function Class() {
// All construction is actually done in the init method
if (!initializing && this.init) {
@ -78,8 +80,11 @@
};
})();
//Define the clone method for later use.
//Helper Method
/**
* Define the clone method for later use. Helper Method.
*
* @param obj
*/
function cloneObject(obj) {
if (obj === null || typeof obj !== "object") {
return obj;