styleguide: requireSpacesInConditionalExpression PR: #326 PR-URL: https://github.com/apache/couchdb-fauxton/pull/326 Reviewed-By: garren smith <garren.sm...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/ba123f41 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/ba123f41 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/ba123f41 Branch: refs/heads/master Commit: ba123f419f151261dd3b1b16f105c49729b77fda Parents: 3d108d2 Author: Robert Kowalski <r...@kowalski.gd> Authored: Sun Mar 22 21:52:52 2015 +0100 Committer: Robert Kowalski <robertkowal...@apache.org> Committed: Wed Mar 25 11:11:51 2015 +0100 ---------------------------------------------------------------------- app/core/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/ba123f41/app/core/utils.js ---------------------------------------------------------------------- diff --git a/app/core/utils.js b/app/core/utils.js index 1238240..c8faee0 100644 --- a/app/core/utils.js +++ b/app/core/utils.js @@ -95,7 +95,7 @@ function ($, _) { safeURLName: function(name){ var testName = name || ""; var checkforBad = testName.match(/[\$\-/,+-]/g); - return (checkforBad !== null)?encodeURIComponent(name):name; + return (checkforBad !== null) ? encodeURIComponent(name) : name; }, // a pair of simple local storage wrapper functions. These ward against problems getting or