fixed eslint error into modules for Javascript files

This commit is contained in:
Rodrigo Ramírez Norambuena
2016-12-01 19:48:53 -03:00
parent 8ad00025ad
commit 83ee0534f2
10 changed files with 110 additions and 99 deletions

View File

@@ -59,7 +59,7 @@ Module.register("updatenotification", {
var subtext = document.createElement("div");
subtext.innerHTML = this.translate("UPDATE_INFO")
.replace("COMMIT_COUNT", this.status.behind + " " + ((this.status.behind == 1)? 'commit' : 'commits'))
.replace("COMMIT_COUNT", this.status.behind + " " + ((this.status.behind == 1)? "commit" : "commits"))
.replace("BRANCH_NAME", this.status.current);
subtext.className = "xsmall dimmed";
wrapper.appendChild(subtext);