haste/oUF — pull request #209 by Rainrider (2013-12-10 00:14:00+00:00)
Title: power: optimize a bit

This would spare a local and a global function call if the layout does not use power.displayAltPower. Otherwise the call of `UnitPowerType` is useless as `UnitPower(unit, nil)` and `UnitPowerMax(unit, nil)` will both return values for primary power.