Better code indentation

This commit is contained in:
Frederic Junod
2018-02-28 16:46:45 +01:00
parent cf0c42ae7d
commit 73b15ef8d7
6 changed files with 29 additions and 41 deletions

View File

@@ -105,8 +105,7 @@ Observable.prototype.on = function(type, listener) {
}
return keys;
} else {
return listen(
this, /** @type {string} */ (type), listener);
return listen(this, /** @type {string} */ (type), listener);
}
};
@@ -129,8 +128,7 @@ Observable.prototype.once = function(type, listener) {
}
return keys;
} else {
return listenOnce(
this, /** @type {string} */ (type), listener);
return listenOnce(this, /** @type {string} */ (type), listener);
}
};