mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Use camelCase and declare MUST_USE_ATTRIBUTE.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user