<commit_before>// Copyright 2016, University of Colorado Boulder

/**
 * Create Key to be used in a keypad.
 *
 * @author <NAME>
 */
define( function( require ) {
  'use strict';

  // modules
  var inherit = require( 'PHET_CORE/inherit' );
  var sceneryPhet = require( 'SCENERY_PHET/sceneryPhet' );
  var Tandem = require( 'TANDEM/Tandem' );

  /**
   * @param {Node} displayNode - node that will appear on the key
   * @param {Keys} identifier look at Keys enum for types of identifier supported
   * @param {object} [options]
   * @constructor
   */
  function Key( displayNode, identifier, options ) {
    Tandem.indicateUninstrumentedCode();

    options = _.extend( {
      horizontalSpan: 1,
      verticalSpan: 1
    }, options );

    this.displayNode = displayNode; // @public
    this.identifier = identifier; // @public
    this.horizontalSpan = options.horizontalSpan; // @public
    this.verticalSpan = options.verticalSpan; // @public
  }

  sceneryPhet.register( 'Key', Key );

  return inherit( Object, Key, {} );
} );<commit_msg>Doc fix<commit_after>// Copyright 2016, University of Colorado Boulder

/**
 * Create Key to be used in a keypad.
 *
 * @author <NAME>
 */
define( function( require ) {
  'use strict';

  // modules
  var inherit = require( 'PHET_CORE/inherit' );
  var sceneryPhet = require( 'SCENERY_PHET/sceneryPhet' );
  var Tandem = require( 'TANDEM/Tandem' );

  /**
   * @param {Node|string} displayNode - node (or string to be converted) that will appear on the key
   * @param {Keys} identifier look at Keys enum for types of identifier supported
   * @param {object} [options]
   * @constructor
   */
  function Key( displayNode, identifier, options ) {
    Tandem.indicateUninstrumentedCode();

    options = _.extend( {
      horizontalSpan: 1,
      verticalSpan: 1
    }, options );

    this.displayNode = displayNode; // @public
    this.identifier = identifier; // @public
    this.horizontalSpan = options.horizontalSpan; // @public
    this.verticalSpan = options.verticalSpan; // @public
  }

  sceneryPhet.register( 'Key', Key );

  return inherit( Object, Key, {} );
} );
{'fraction_non_alphanumeric': 0.12764955252001883, 'fraction_numerical': 0.005652378709373528, 'mean_word_length': 3.205940594059406, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6564391', 'n_tokens_mistral': 685, 'n_tokens_neox': 644, 'n_words': 192}