lost+found/src/pattern.js
function (pos) {
                if (this._choice) {
                    if (undefined === pos) {
                        pos = this._items.length - 1;
                    }
                    return this._items[pos];
                }
                return this._items;
            }
function (pos) {
                if (this._choice) {
                    if (undefined === pos) {
                        pos = this._items.length - 1;
                    }
                    return this._items[pos];
                }
                return this._items;
            }
function ( pos ) { if ( this . _choice ) { if ( undefined === pos ) { pos = this . _items . length - 1 ; } return this . _items [ pos ] ; } return this . _items ; }
Get the current list of items

@param {Number} [pos=undefined] When choices, get the items
at the given position (last one when undefined). Ignored
otherwise.
@return {PatternItem[]}
@private
Get the current list of items