* Parse modifiers from directive attribute name. * * @param {String} name * @return {Object}
(name)
| 7573 | */ |
| 7574 | |
| 7575 | function parseModifiers(name) { |
| 7576 | var res = Object.create(null); |
| 7577 | var match = name.match(modifierRE); |
| 7578 | if (match) { |
| 7579 | var i = match.length; |
| 7580 | while (i--) { |
| 7581 | res[match[i].slice(1)] = true; |
| 7582 | } |
| 7583 | } |
| 7584 | return res; |
| 7585 | } |
| 7586 | |
| 7587 | /** |
| 7588 | * Build a link function for all directives on a single node. |
no outgoing calls
no test coverage detected