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