Typos fixed on the modules/selector page: selector.unify() -> selector-unify(), compound-selectors() -> simple-selectors()

This commit is contained in:
Alexander Doroshko 2019-12-10 16:29:32 +03:00
parent 5b5713faff
commit 7c14fd88d7

View File

@ -211,7 +211,7 @@ also just be normal strings (quoted or unquoted), or a combination. For example,
<% function 'selector.unify($selector1, $selector2)',
'selector.unify($selector1, $selector2)',
'selector-unify($selector1, $selector2)',
returns: 'selector | null' do %>
Returns a selector that matches only elements matched by *both* `$selector1`
and `$selector2`.
@ -251,10 +251,10 @@ also just be normal strings (quoted or unquoted), or a combination. For example,
strings.
<% example(autogen_css: false) do %>
@debug selector.compound-selectors("a.disabled"); // a, .disabled
@debug selector.compound-selectors("main.blog:after"); // main, .blog, :after
@debug selector.simple-selectors("a.disabled"); // a, .disabled
@debug selector.simple-selectors("main.blog:after"); // main, .blog, :after
===
@debug selector.compound-selectors("a.disabled") // a, .disabled
@debug selector.compound-selectors("main.blog:after") // main, .blog, :after
@debug selector.simple-selectors("a.disabled") // a, .disabled
@debug selector.simple-selectors("main.blog:after") // main, .blog, :after
<% end %>
<% end %>