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

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Yursha <31780593+yursha@users.noreply.github.com>2019-10-21 13:32:02 +0300
committerMartijn Cuppens <martijn.cuppens@gmail.com>2019-10-21 13:32:02 +0300
commit766ba0593dc4291fe8a2804b064e753dabee9bea (patch)
tree15ba05f5b874c2ae2274fdf0a561220a763c79be /lib
parentc5e072bfe65edd2c50868de7d8c7b860f44c44b2 (diff)
Turn code-repeating comment into an intent comment (#173)
The current comment just repeats what the code does and is not useful. My think, it will be better to specify the intent as suggested.
Diffstat (limited to 'lib')
-rw-r--r--lib/rfs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rfs.js b/lib/rfs.js
index 3cae1ee..706354b 100644
--- a/lib/rfs.js
+++ b/lib/rfs.js
@@ -90,7 +90,7 @@ module.exports = class {
return match;
}
- // Multiply by remValue if value is in rem
+ // Convert to px if in rem
if (unit === 'rem') {
value *= this.opts.remValue;
}