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