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