()
| 34 | } |
| 35 | |
| 36 | function checkDuplicatedValue() { |
| 37 | const value = findDir(node, 'bind') |
| 38 | if (value && isStaticArgOf(value.arg, 'value')) { |
| 39 | context.onError( |
| 40 | createDOMCompilerError( |
| 41 | DOMErrorCodes.X_V_MODEL_UNNECESSARY_VALUE, |
| 42 | value.loc, |
| 43 | ), |
| 44 | ) |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | const { tag } = node |
| 49 | const isCustomElement = context.isCustomElement(tag) |
no test coverage detected