Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Peccatte <hugues.peccatte@gmail.com>2014-11-02 00:07:18 +0300
committerHugues Peccatte <hugues.peccatte@gmail.com>2014-11-02 00:07:18 +0300
commitbdb5f333d7b279de6ff39bcdf92c92c4af80be20 (patch)
treed5adef02c262d436352344e57a3a429d43c12af6 /js/big_ints.js
parentf7b37d8d7233f9486a442dc1174f468f619f8759 (diff)
Fix PHPCS issues.
PHPDoc updates. Minor coding style modifications. Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'js/big_ints.js')
-rw-r--r--js/big_ints.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/big_ints.js b/js/big_ints.js
index 27576bca5f..f50cefb388 100644
--- a/js/big_ints.js
+++ b/js/big_ints.js
@@ -25,8 +25,8 @@ var BigInts = {
var len1 = int1.length;
var len2 = int2.length;
// integer is -ve or not
- var isNeg1 = int1[0] === '-' ? true : false;
- var isNeg2 = int2[0] === '-' ? true : false;
+ var isNeg1 = (int1[0] === '-');
+ var isNeg2 = (int2[0] === '-');
// Sign of int1 != int2 then no actual comparison
// is needed we can return result directly
if (isNeg1 !== isNeg2) {