Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

documentation rewording

  • Loading branch information...
commit 42cfe620bbc7e9691fb16e86e2e714c900e376f7 1 parent 5761965
Hans Dieter Pearcey authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 lib/CSS/Selector/Parser.pm
View
10 lib/CSS/Selector/Parser.pm
@@ -130,8 +130,10 @@ Supported options:
=item class_as_array
-If set, class will be always arrayref. Each element of class will represent
-a single class defined in selector.
+If set, C<class> will always be an arrayref, even if no class was present in
+the selector (in which case it will be empty).
+
+See the description of C<class> below.
=back
@@ -149,9 +151,9 @@ C<bar> in C<foo#bar.baz>. Note: NOT C<[id="..."]>.
=item class
-C<baz.qux> in C<foo#bar.baz.qux> if C<class_as_array> option is not set.
+C<baz.quux> in C<foo#bar.baz.quux> if C<class_as_array> option is not set.
-[C<baz>, C<qux>] in C<foo#bar.baz.qux> if C<class_as_array> option is set.
+[C<baz>, C<quux>] in C<foo#bar.baz.quux> if C<class_as_array> option is set.
Note: NOT C<[class="..."]>.
Please sign in to comment.
Something went wrong with that request. Please try again.