mirror of
https://github.com/danog/sass-site.git
synced 2025-01-21 21:31:34 +01:00
Code review changes
This commit is contained in:
parent
b1b07540f2
commit
576474cfc5
@ -200,8 +200,8 @@ including `$`) to those arguments' values.
|
||||
<% fun_fact do %>
|
||||
If you don't ever pass an argument list to the [`map.keywords()` function][],
|
||||
that argument list won't allow extra keyword arguments. This helps callers of
|
||||
your function make sure they haven't accidentally written any typos in their
|
||||
argument names.
|
||||
your function make sure they haven't accidentally misspelled any argument
|
||||
names.
|
||||
|
||||
[`map.keywords()` function]: ../modules/map#keywords
|
||||
<% end %>
|
||||
|
@ -270,8 +270,8 @@ including `$`) to those arguments' values.
|
||||
<% fun_fact do %>
|
||||
If you don't ever pass an argument list to the [`map.keywords()` function][],
|
||||
that argument list won't allow extra keyword arguments. This helps callers of
|
||||
your mixin make sure they haven't accidentally written any typos in their
|
||||
argument names.
|
||||
your mixin make sure they haven't accidentally misspelled any argument
|
||||
names.
|
||||
|
||||
[`map.keywords()` function]: ../modules/map#keywords
|
||||
<% end %>
|
||||
|
@ -18,14 +18,14 @@ overview: true
|
||||
Before the Sass module system was introduced, all Sass functions were globally
|
||||
available at all times. Many functions still have global aliases (these are
|
||||
listed in their documentation). The Sass team discourages their use and will
|
||||
eventually deprecate them, but for now they're still available for
|
||||
compatibility with older Sass versions and with LibSass (which doesn't support
|
||||
the module system yet).
|
||||
eventually deprecate them, but for now they remain available for compatibility
|
||||
with older Sass versions and with LibSass (which doesn't support the module
|
||||
system yet).
|
||||
|
||||
[A few functions][] are still *only* available globally, either because they
|
||||
have special evaluation behavior ([`if()`][]) or because they add extra
|
||||
behavior on top of built-in CSS functions ([`rgb()`][] and [`hsl()`][]). These
|
||||
will not be deprecated and can be used freely.
|
||||
[A few functions][] are *only* available globally even in the new module
|
||||
system, either because they have special evaluation behavior ([`if()`][]) or
|
||||
because they add extra behavior on top of built-in CSS functions ([`rgb()`][]
|
||||
and [`hsl()`][]). These will not be deprecated and can be used freely.
|
||||
|
||||
[a few functions]: #global-functions
|
||||
[`if()`]: #if
|
||||
@ -57,9 +57,6 @@ overview: true
|
||||
|
||||
Sass provides the following built-in modules:
|
||||
|
||||
* Any function that Sass doesn't recognize as built-in or user-defined is
|
||||
treated as a [plain CSS function][]. (TODO: find a home for this)
|
||||
|
||||
* The [`sass:math` module][] provides functions that operate on [numbers][].
|
||||
|
||||
* The [`sass:string` module][] makes it easy to combine, search, or split apart
|
||||
|
Loading…
x
Reference in New Issue
Block a user