<commit_before>// Copyright 2002-2014, University of Colorado Boulder

/**
 * An interactive round push button.  This is the file in which the appearance
 * and behavior are brought together.
 *
 * This class inherits from RoundButtonView, which contains all of the
 * code that defines the button's appearance, and adds the button's behavior
 * by hooking up a button model.
 *
 * @author <NAME>
 * @author <NAME>
 */
define( function( require ) {
  'use strict';

  var RoundButtonView = require( 'SUN/experimental/buttons/RoundButtonView' );
  var PushButtonModel = require( 'SUN/experimental/buttons/PushButtonModel' );
  var ButtonListener = require( 'SUN/experimental/buttons/ButtonListener' );
  var inherit = require( 'PHET_CORE/inherit' );

  /**
   * @param {Node} content - Node to put on surface of button, could be text, icon, or whatever
   * @param {Object} options
   * @constructor
   */
  function RoundPushButton( content, options ) {

    options = _.extend( {content: content}, options );

    //Safe to pass through options to the pushButtonModel like "fireOnDown".  Other scenery options will be safely ignored.
    var buttonModel = new PushButtonModel( options );
    RoundButtonView.call( this, buttonModel, options );
    this.addInputListener( new ButtonListener( buttonModel ) );
  }

  return inherit( RoundButtonView, RoundPushButton );
} );<commit_msg>#59 buttonModel -> pushButtonModel to match comment and var name in RectangularPushButton<commit_after>// Copyright 2002-2014, University of Colorado Boulder

/**
 * An interactive round push button.  This is the file in which the appearance
 * and behavior are brought together.
 *
 * This class inherits from RoundButtonView, which contains all of the
 * code that defines the button's appearance, and adds the button's behavior
 * by hooking up a button model.
 *
 * @author <NAME>
 * @author <NAME>
 */
define( function( require ) {
  'use strict';

  var RoundButtonView = require( 'SUN/experimental/buttons/RoundButtonView' );
  var PushButtonModel = require( 'SUN/experimental/buttons/PushButtonModel' );
  var ButtonListener = require( 'SUN/experimental/buttons/ButtonListener' );
  var inherit = require( 'PHET_CORE/inherit' );

  /**
   * @param {Node} content - Node to put on surface of button, could be text, icon, or whatever
   * @param {Object} options
   * @constructor
   */
  function RoundPushButton( content, options ) {

    options = _.extend( {content: content}, options );

    //Safe to pass through options to the pushButtonModel like "fireOnDown".  Other scenery options will be safely ignored.
    var pushButtonModel = new PushButtonModel( options );
    RoundButtonView.call( this, pushButtonModel, options );
    this.addInputListener( new ButtonListener( pushButtonModel ) );
  }

  return inherit( RoundButtonView, RoundPushButton );
} );
{'fraction_non_alphanumeric': 0.09698879551820729, 'fraction_numerical': 0.0063025210084033615, 'mean_word_length': 4.074600355239787, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '2000064', 'n_tokens_mistral': 801, 'n_tokens_neox': 755, 'n_words': 290}