Skip to content

Commit

Permalink
Use camelCase and declare MUST_USE_ATTRIBUTE.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreavis committed May 7, 2014
1 parent 2b196b7 commit bfcd4ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/docs/ref-04-tags-and-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ accept accessKey action allowFullScreen allowTransparency alt async
autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked
className colSpan cols content contentEditable contextMenu controls data
dateTime defer dir disabled draggable encType form formNoValidate frameBorder
height hidden href htmlFor httpEquiv icon id itemprop itemscope itemtype
height hidden href htmlFor httpEquiv icon id itemProp itemScope itemType
label lang list loop max maxLength method min multiple name noValidate
pattern placeholder poster preload radioGroup readOnly rel required role
rowSpan rows sandbox scope scrollLeft scrollTop seamless selected size span
Expand Down
6 changes: 3 additions & 3 deletions src/browser/ui/dom/HTMLDOMPropertyConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ var HTMLDOMPropertyConfig = {
autoCapitalize: null, // Supported in Mobile Safari for keyboard hints
autoCorrect: null, // Supported in Mobile Safari for keyboard hints
property: null, // Supports OG in meta tags
itemscope: HAS_BOOLEAN_VALUE, // Microdata: http://schema.org/docs/gs.html
itemtype: null, // Microdata: http://schema.org/docs/gs.html
itemprop: null // Microdata: http://schema.org/docs/gs.html
itemScope: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, // Microdata: http://schema.org/docs/gs.html
itemType: MUST_USE_ATTRIBUTE, // Microdata: http://schema.org/docs/gs.html
itemProp: MUST_USE_ATTRIBUTE // Microdata: http://schema.org/docs/gs.html
},
DOMAttributeNames: {
className: 'class',
Expand Down

0 comments on commit bfcd4ca

Please sign in to comment.