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
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2022-03-25 17:43:54 +0300
committerXhmikosR <xhmikosr@gmail.com>2022-03-25 17:45:46 +0300
commit2d91eec6728faeba42c06c109131035cb6764a46 (patch)
tree0ef2f6516f838dff2c534d88693dbefd49e87f95
parent0d0f98d57184072680e8c6ec6510d33891b1da3a (diff)
Fix comments
-rw-r--r--lib/rfs.js2
-rw-r--r--postcss.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rfs.js b/lib/rfs.js
index f76a835..0fbc332 100644
--- a/lib/rfs.js
+++ b/lib/rfs.js
@@ -72,7 +72,7 @@ module.exports = class {
// invoking the callback for each.
parsed.walk(node => {
// Since we only want to transform rfs() values,
- // we can ignore anything else.
+ // we can ignore everything else.
if (node.type !== 'function' && node.value !== this.opts.functionName) {
return;
}
diff --git a/postcss.js b/postcss.js
index 28e9bc7..4cae5c5 100644
--- a/postcss.js
+++ b/postcss.js
@@ -17,7 +17,7 @@ const ENABLE_RFS_SELECTOR = '.enable-rfs';
module.exports = (opts = {}) => {
const rfs = new RfsClass(opts);
- // Get the options merged with defaults
+ // Get the merged options
opts = rfs.getOptions();
const mediaQuery = rfs.renderMediaQuery();