(tag, type, attr)
| 4174 | // attributes that should be using props for binding |
| 4175 | var acceptValue = makeMap('input,textarea,option,select'); |
| 4176 | var mustUseProp = function (tag, type, attr) { |
| 4177 | return ( |
| 4178 | (attr === 'value' && acceptValue(tag)) && type !== 'button' || |
| 4179 | (attr === 'selected' && tag === 'option') || |
| 4180 | (attr === 'checked' && tag === 'input') || |
| 4181 | (attr === 'muted' && tag === 'video') |
| 4182 | ) |
| 4183 | }; |
| 4184 | |
| 4185 | var isEnumeratedAttr = makeMap('contenteditable,draggable,spellcheck'); |
| 4186 |
nothing calls this directly
no outgoing calls
no test coverage detected