virtual-world-framework/vwf — pull request #385 by youngca (2014-11-07 14:31:05+00:00)
Title: Evaluate and include all valid modifiers with unit.

This pull request addresses two issues.

1. When mil-sym.js (view) getUnitSymbol is called, each of the supported modifiers is evaluated to determine if it is valid for the particular unit symbol. The list of valid modifiers is included with the unit symbol object, which the calling app can handle upon unit creation.

2. Handle special symbol modifiers to remove themselves from the unit symbol when their values are set to blank. Most text-based modifiers will simply disappear from the unit symbol when set to blank. However, certain modifiers, like reinforced/reduced, direction of movement (an arrow indicating direction) and quantity do not. They either set themselves to 0 (like quantity or direction of movement) or like reinforced/reduced appear as "null".

@scottnc27603 @eric79