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