(units, value)
| 747 | } |
| 748 | |
| 749 | function stringSet(units, value) { |
| 750 | if (typeof units === 'object') { |
| 751 | units = normalizeObjectUnits(units); |
| 752 | var prioritized = getPrioritizedUnits(units), |
| 753 | i; |
| 754 | for (i = 0; i < prioritized.length; i++) { |
| 755 | this[prioritized[i].unit](units[prioritized[i].unit]); |
| 756 | } |
| 757 | } else { |
| 758 | units = normalizeUnits(units); |
| 759 | if (isFunction(this[units])) { |
| 760 | return this[units](value); |
| 761 | } |
| 762 | } |
| 763 | return this; |
| 764 | } |
| 765 | |
| 766 | var match1 = /\d/, // 0 - 9 |
| 767 | match2 = /\d\d/, // 00 - 99 |
nothing calls this directly
no test coverage detected