pagelets/creditcard.js
function year(options) {
    var content = ''
      , y = this.year;

    while(++y < this.max_year) {
      content += options.fn({
        year: y,
        selected: +this.expiration_year === y ? ' selected' : '',
      });
    }

    return content;
  }
function year(options) {
    var content = ''
      , y = this.year;

    while(++y < this.max_year) {
      content += options.fn({
        year: y,
        selected: +this.expiration_year === y ? ' selected' : '',
      });
    }

    return content;
  }
function year ( options ) { var content = '' , y = this . year ; while ( ++ y < this . max_year ) { content += options . fn ( { year : y , selected : + this . expiration_year === y ? ' selected' : '' , } ) ; } return content ; }
Handblebar helper to generate year dropdown select options.

@param {Object} options
@return {String} generated template
@api private
Handblebar helper to generate year dropdown select options .