Opened 9 years ago

Closed 9 years ago

#11732 closed defect (fixed)

dojo.query comments error

Reported by: JayZ(zhouxiang) Owned by: alex
Priority: high Milestone: 1.6
Component: Core Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

Following comment error:

//dojo.query() supports a rich set of CSS3 selectors, including:
//
//	* class selectors (e.g., `.foo`)
//	* node type selectors like `span`
//	* ` ` descendant selectors
//	* `>` child element selectors 
//	* `#foo` style ID selectors
//	* `*` universal selector
'''//	* `~`, the immediately preceeded-by sibling selector
//	* `+`, the preceeded-by sibling selector'''
//	* attribute queries:
//	|	* `[foo]` attribute presence selector
//	|	* `[foo='bar']` attribute value exact match
//	|	* `[foo~='bar']` attribute value list item match
//	|	* `[foo^='bar']` attribute start match
//	|	* `[foo$='bar']` attribute end match
//	|	* `[foo*='bar']` attribute substring match
}}

The two lines in bold, the `~` should be "the preceeded-by sibling selector" and the `+` should be "the immediately preceeded-by sibling selector"

Change History (3)

comment:1 Changed 9 years ago by Adam Peller

Description: modified (diff)
Milestone: 1.5.1tbd

comment:2 Changed 9 years ago by Adam Peller

Milestone: tbd1.6
Owner: changed from anonymous to alex

comment:3 Changed 9 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [23366]) fix typos, fixes #11732 !strict Thanks, zhouxiang

Note: See TracTickets for help on using tickets.