Use camelCase and declare MUST_USE_ATTRIBUTE.

This commit is contained in:
Brian Reavis
2014-05-07 10:02:57 -07:00
parent 2b196b7cd2
commit bfcd4cac48
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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',