diff --git a/runtime/js/core/browser.js b/runtime/js/core/browser.js index ccbe9f284..dd7856897 100644 --- a/runtime/js/core/browser.js +++ b/runtime/js/core/browser.js @@ -26,7 +26,7 @@ export function OpenURL(url) { * Opens the given filename using the system's default file handler * * @export - * @param {sting} filename + * @param {string} filename * @returns */ export function OpenFile(filename) { diff --git a/runtime/js/core/calls.js b/runtime/js/core/calls.js index ea3128e8a..9919ff803 100644 --- a/runtime/js/core/calls.js +++ b/runtime/js/core/calls.js @@ -62,7 +62,7 @@ if (window.crypto) { export function Call(bindingName, data, timeout) { // Timeout infinite by default - if (timeout == null || timeout == undefined) { + if (timeout == null) { timeout = 0; } diff --git a/runtime/js/core/ipc.js b/runtime/js/core/ipc.js index 1285255a7..b453d3ac7 100644 --- a/runtime/js/core/ipc.js +++ b/runtime/js/core/ipc.js @@ -45,7 +45,7 @@ function Invoke(message) { * * @export * @param {string} type - * @param {string} payload + * @param {Object} payload * @param {string=} callbackID */ export function SendMessage(type, payload, callbackID) {