(unit, shorthand)
| 627 | var aliases = {}; |
| 628 | |
| 629 | function addUnitAlias(unit, shorthand) { |
| 630 | var lowerCase = unit.toLowerCase(); |
| 631 | aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; |
| 632 | } |
| 633 | |
| 634 | function normalizeUnits(units) { |
| 635 | return typeof units === 'string' |