( el, name, getStatic )
| 5502 | } |
| 5503 | |
| 5504 | function getBindingAttr ( |
| 5505 | el, |
| 5506 | name, |
| 5507 | getStatic |
| 5508 | ) { |
| 5509 | var dynamicValue = |
| 5510 | getAndRemoveAttr(el, ':' + name) || |
| 5511 | getAndRemoveAttr(el, 'v-bind:' + name); |
| 5512 | if (dynamicValue != null) { |
| 5513 | return parseFilters(dynamicValue) |
| 5514 | } else if (getStatic !== false) { |
| 5515 | var staticValue = getAndRemoveAttr(el, name); |
| 5516 | if (staticValue != null) { |
| 5517 | return JSON.stringify(staticValue) |
| 5518 | } |
| 5519 | } |
| 5520 | } |
| 5521 | |
| 5522 | function getAndRemoveAttr (el, name) { |
| 5523 | var val; |
no test coverage detected