src/third_party/specimenTools/lib/widgets/CurrencySymbols.js
/**
     * Fill container with sample texts that display all currency
     * symbols available in the font.
     *
     * The sample texts for each currency are taken from
     *      1. 2he dictionary `options.symbolTexts` if `(int) charcode` is
     *         a key in it.
     *      2. The 3rd item in the symbols entry in the `options.symbols`
     *         array, if present (should be authored by upstream to ptovide
     *         reasonable defaults).
     *      3. `options.fallbackSymbolText`
     *
     * In a sample text, the "$" char will be replaced by the element containing
     * the symbol.
     *
     * Each symbol sample will be in a span with the class `sampleClass`.
     * Within a sample element spans with `symbolClass` will contain the
     * symbol character and spans with `textClass` will contain the
     * rest of the sample text.
     */
Fill container with sample texts that display all currency
symbols available in the font.

The sample texts for each currency are taken from
1. 2he dictionary `options.symbolTexts` if `(int) charcode` is
a key in it.
2. The 3rd item in the symbols entry in the `options.symbols`
array, if present (should be authored by upstream to ptovide
reasonable defaults).
3.

In a sample text, the "$" char will be replaced by the element containing
the symbol.

Each symbol sample will be in a span with the class `sampleClass`.
Within a sample element spans with `symbolClass` will contain the
symbol character and spans with `textClass` will contain the
rest of the sample text.
Fill container with sample texts that display all currency symbols available in the font . The sample texts for each currency are taken from 1 . 2he dictionary ` options . symbolTexts ` if ` ( int ) charcode ` is a key in it . 2 . The 3rd item in the symbols entry in the ` options . symbols ` array if present ( should be authored by upstream to ptovide reasonable defaults ) . 3 . In a sample text the " $ " char will be replaced by the element containing the symbol . Each symbol sample will be in a span with the class ` sampleClass ` . Within a sample element spans with ` symbolClass ` will contain the symbol character and spans with ` textClass ` will contain the rest of the sample text .
function CurrencySymbols(container, pubSub, fontData, options) {
        Parent.call(this, options);
        this._container = container;
        this._pubSub = pubSub;
        this._fontsData = fontData;
        this._pubSub.subscribe('activateFont', this._onActivateFont.bind(this));
    }
function CurrencySymbols ( container , pubSub , fontData , options ) { Parent . call ( this , options ) ; this . _container = container ; this . _pubSub = pubSub ; this . _fontsData = fontData ; this . _pubSub . subscribe ( 'activateFont' , this . _onActivateFont . bind ( this ) ) ; }
Fill container with sample texts that display all currency
 symbols available in the font.
Fill container with sample texts that display all currency symbols available in the font .