mirror of https://github.com/mue/mue.git
try make codacy happy
This commit is contained in:
parent
89ecde1b69
commit
a3a44f885e
|
@ -32,5 +32,5 @@ const init = () => {
|
|||
document.addEventListener('DOMContentLoaded', init);
|
||||
|
||||
// Disable right click
|
||||
document.oncontextmenu=RightMouseDown;
|
||||
function RightMouseDown() { return false; }
|
||||
document.oncontextmenu=RightMouseDown;
|
||||
|
|
|
@ -28,4 +28,4 @@ module.exports = {
|
|||
rucodes: ['ru', 'ru-MO'],
|
||||
arcodes: ['ar', 'ar-DZ', 'ar-BH', 'ar-EG', 'ar-IQ', 'ar-JO', 'ar-KW', 'ar-LB', 'ar-LY', 'ar-QA', 'ar-SA', 'ar-SY', 'ar-TN', 'ar-AE', 'ar-YE' ],
|
||||
svcodes: ['sv', 'sv-FI', 'sv-SV']
|
||||
}
|
||||
};
|
|
@ -53,7 +53,6 @@ module.exports = class Function {
|
|||
util.setHTMLContent('cite', quotes.authors[id]);
|
||||
};
|
||||
|
||||
|
||||
static setTime() {
|
||||
let date = new Date(),
|
||||
time = [
|
||||
|
@ -65,4 +64,4 @@ module.exports = class Function {
|
|||
// example: [16, 32, 03] -> "16:32:03"
|
||||
util.setHTMLContent('time', time.join(':'));
|
||||
};
|
||||
}
|
||||
};
|
|
@ -53,7 +53,7 @@ module.exports = class Util {
|
|||
}
|
||||
}
|
||||
return index;
|
||||
};
|
||||
}
|
||||
}
|
||||
return indexOf.call(this, needle) > -1;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue