Skip to content

Commit

Permalink
improved language to be more sensitive to less privileged populations
Browse files Browse the repository at this point in the history
  • Loading branch information
rgeerts committed Jul 17, 2020
1 parent e1fc158 commit 1036265
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function getInstalledBinaries() {
}

/**
* Check that an environment matches the whitelisted values or the current
* Check that an environment matches the allowlisted values or the current
* environment if no parameters are passed
*
* @param {string} platform - The name of the OS platform(darwin, win32, etc...)
Expand Down
4 changes: 2 additions & 2 deletions src/libsass/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ namespace Sass {

bool empty_parent_ref = pToConvert->head() && pToConvert->head()->is_empty_reference();

// the first Complex_Selector may contain a dummy head pointer, skip it.
// the first Complex_Selector may contain a fake head pointer, skip it.
if (pToConvert->head() && !empty_parent_ref) {
node.collection()->push_back(Node::createSelector(*pToConvert));
if (has_lf) node.collection()->back().got_line_feed = has_lf;
Expand Down Expand Up @@ -269,7 +269,7 @@ namespace Sass {
}
}

// Put the dummy Compound_Selector in the first position, for consistency with the rest of libsass
// Put the fake Compound_Selector in the first position, for consistency with the rest of libsass
Compound_Selector_Ptr fakeHead = SASS_MEMORY_NEW(Compound_Selector, ParserState("[NODE]"), 1);
Parent_Selector_Ptr selectorRef = SASS_MEMORY_NEW(Parent_Selector, ParserState("[NODE]"));
fakeHead->elements().push_back(selectorRef);
Expand Down
2 changes: 1 addition & 1 deletion src/libsass/src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ namespace Sass {
// update for end position
ruleset->update_pstate(pstate);
ruleset->block()->update_pstate(pstate);
// need this info for sanity checks
// need this info for coherence checks
ruleset->is_root(is_root);
// return AST Node
return ruleset;
Expand Down

0 comments on commit 1036265

Please sign in to comment.