@samitouri / QOS-React-2 / commits / bfcd4cac48

Use camelCase and declare MUST_USE_ATTRIBUTE.

Brian Reavis committed May 7, 2014 at 10:02 UTC bfcd4cac48a294da32a0bda0a82055c640aebac9
2 files changed +4 -4
docs/docs/ref-04-tags-and-attributes.md
+1 -1
@@ -57,7 +57,7 @@ accept accessKey action allowFullScreen allowTransparency alt async
57 autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked
58 className colSpan cols content contentEditable contextMenu controls data
59 dateTime defer dir disabled draggable encType form formNoValidate frameBorder
60 -height hidden href htmlFor httpEquiv icon id itemprop itemscope itemtype
60 +height hidden href htmlFor httpEquiv icon id itemProp itemScope itemType
61 label lang list loop max maxLength method min multiple name noValidate
62 pattern placeholder poster preload radioGroup readOnly rel required role
63 rowSpan rows sandbox scope scrollLeft scrollTop seamless selected size span
src/browser/ui/dom/HTMLDOMPropertyConfig.js
+3 -3
@@ -136,9 +136,9 @@ var HTMLDOMPropertyConfig = {
136 autoCapitalize: null, // Supported in Mobile Safari for keyboard hints
137 autoCorrect: null, // Supported in Mobile Safari for keyboard hints
138 property: null, // Supports OG in meta tags
139 - itemscope: HAS_BOOLEAN_VALUE, // Microdata: http://schema.org/docs/gs.html
140 - itemtype: null, // Microdata: http://schema.org/docs/gs.html
141 - itemprop: null // Microdata: http://schema.org/docs/gs.html
139 + itemScope: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, // Microdata: http://schema.org/docs/gs.html
140 + itemType: MUST_USE_ATTRIBUTE, // Microdata: http://schema.org/docs/gs.html
141 + itemProp: MUST_USE_ATTRIBUTE // Microdata: http://schema.org/docs/gs.html
142 },
143 DOMAttributeNames: {
144 className: 'class',