5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-20 19:09:29 +08:00

Merge pull request #130 from wailsapp/123-Unify-Runtime-APIs

fix: linting
This commit is contained in:
Lea Anthony 2019-06-22 08:47:25 +10:00 committed by GitHub
commit 5b8f311465
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,7 +259,7 @@
try {
parsedData = JSON.parse(data);
} catch (e) {
wails.Log.Error("Invalid JSON data sent to notify. Event name = " + eventName)
wails.Log.Error("Invalid JSON data sent to notify. Event name = " + eventName);
}
}
element.apply(null, parsedData);
@ -289,7 +289,7 @@
return function (eventName, eventData) {
console.warn('Method events.' + oldName + ' has been deprecated. Please use Events.' + newName);
return fn(eventName, eventData);
}
};
}
// Deprecated Events calls
@ -346,7 +346,7 @@
return function (message) {
console.warn('Method Log.' + oldName + ' has been deprecated. Please use Log.' + newName);
return fn(message);
}
};
}
function logDebug(message) {