Skip to content

Commit a687211

Browse files
committed
update docs, which had '#' instead of '.' as the key prefix
1 parent 865db15 commit a687211

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

JSONSelect.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ View or contribute to the latest version [on github](http://github.com/lloyd/JSO
1818

1919
* `string` -- type selectors
2020
* `*` -- the universal type selector
21-
* `#foo` -- ID selectors, which match against object keys
22-
* `#"a string"` -- ID selectors with JSON-string quoted ids
21+
* `.foo` -- ID selectors, which match against object keys
22+
* `."a string"` -- ID selectors with JSON-string quoted ids
2323
* Several structural psuedo-classes:
2424
* `:root` - the root psuedo class
2525
* `:nth-child()` - the nth-child class that matches object
@@ -32,7 +32,7 @@ View or contribute to the latest version [on github](http://github.com/lloyd/JSO
3232
without children
3333
* `string, number` -- a grouping operator
3434
* `object string` -- a descendant combinator
35-
* `#bar > string` -- a child combinator
35+
* `.bar > string` -- a child combinator
3636

3737
## Grouping<a name="grouping"></a>
3838

@@ -44,7 +44,7 @@ View or contribute to the latest version [on github](http://github.com/lloyd/JSO
4444

4545
## Planned Additions<a name="additions"></a>
4646

47-
* `boolean#enabled ~ #email` -- a general sibling operator,
47+
* `boolean.enabled ~ .email` -- a general sibling operator,
4848
*without the ordering requirement*
4949
* `:not()`
5050
* `:has()`
@@ -87,8 +87,8 @@ View or contribute to the latest version [on github](http://github.com/lloyd/JSO
8787
;
8888

8989
hash
90-
: `#` name
91-
| `#` json_string
90+
: `.` name
91+
| `.` json_string
9292
;
9393

9494
pseudo

0 commit comments

Comments
 (0)