npm update + fix linked to this update

found an issue with eslint when empty comments were used.
This commit is contained in:
jfh
2020-10-04 23:07:31 +02:00
parent e2493664ed
commit cfbb5a5ec8
15 changed files with 594 additions and 193 deletions

View File

@@ -24,7 +24,7 @@ let cbid = 0;
function getCallbackSetter (funcName) {
return function (...args) {
const that = this, // New callback
callbackID = this.send(funcName, args, function () { /* */ }); // The callback (currently it's nothing, but will be set later)
callbackID = this.send(funcName, args, function () { /* empty */ }); // The callback (currently it's nothing, but will be set later)
return function (newCallback) {
that.callbacks[callbackID] = newCallback; // Set callback

View File

@@ -37,8 +37,8 @@ const ns = {
if (!window.console) {
window.console = {
log (str) { /* */ },
dir (str) { /* */ }
log (str) { /* empty fn */ },
dir (str) { /* empty fn */ }
};
}