Bug 1436389 - Fix space-unary-ops issues picked up by the new version of ESLint. r=mossop

MozReview-Commit-ID: 9yCnRlu2k1a

--HG--
extra : rebase_source : fa1d571ddc3aefd66abcf4f884c9669f64e5f230
This commit is contained in:
Mark Banner 2018-02-07 16:41:19 +00:00
Родитель 2fd2fd7199
Коммит ff6299c6be
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -169,6 +169,6 @@ window.talosDebug = {
};
// Enable testing outside of talos by providing an alternative report function.
if (typeof (tpRecordTime) === "undefined") {
if (typeof(tpRecordTime) === "undefined") {
tpRecordTime = window.talosDebug.tpRecordTime;
}

Просмотреть файл

@ -286,7 +286,7 @@ Damp.prototype = {
reloadPage(onReload) {
return new Promise(resolve => {
let browser = gBrowser.selectedBrowser;
if (typeof (onReload) == "function") {
if (typeof(onReload) == "function") {
onReload().then(resolve);
} else {
browser.addEventListener("load", resolve, {capture: true, once: true});