mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Improve wording of comment (#1331)
Avoid a triple negative ("aren't unless non-null")
This commit is contained in:
parent
d15a41ab83
commit
b098adb289
@ -20,8 +20,8 @@ class FunctionExpression implements Expression, CallableInvocation {
|
|||||||
|
|
||||||
/// The name of the function being invoked.
|
/// The name of the function being invoked.
|
||||||
///
|
///
|
||||||
/// Underscores aren't converted to hyphens in this name *unless* [namespace]
|
/// If [namespace] is non-`null`, underscores are converted to hyphens in this name.
|
||||||
/// is non-`null`, since otherwise it could be a plain CSS function call.
|
/// If [namespace] is `null`, this could be a plain CSS function call, so underscores are kept unchanged.
|
||||||
///
|
///
|
||||||
/// If this is interpolated, the function will be interpreted as plain CSS,
|
/// If this is interpolated, the function will be interpreted as plain CSS,
|
||||||
/// even if it has the same name as a Sass function.
|
/// even if it has the same name as a Sass function.
|
||||||
|
Loading…
Reference in New Issue
Block a user