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

/**
 * IO type for DragListener.
 *
 * @author <NAME> <<EMAIL>>
 */
define( function( require ) {
  'use strict';

  // modules
  var scenery = require( 'SCENERY/scenery' );
  var PressListenerIO = require( 'SCENERY/listeners/PressListenerIO' );

  // phet-io modules
  var assertInstanceOf = require( 'ifphetio!PHET_IO/assertInstanceOf' );
  var phetioInherit = require( 'ifphetio!PHET_IO/phetioInherit' );

  /**
   * @param {DragListener} dragListener
   * @param {string} phetioID
   * @constructor
   */
  function DragListenerIO( dragListener, phetioID ) {
    assert && assertInstanceOf( dragListener, phet.scenery.DragListener );
    PressListenerIO.call( this, dragListener, phetioID );
  }

  phetioInherit( PressListenerIO, 'DragListenerIO', DragListenerIO, {}, {
    documentation: 'Input listener for something that can be dragged.',
    events: PressListenerIO.events.concat( [ 'drag' ] )
  } );

  scenery.register( 'DragListenerIO', DragListenerIO );
<commit_msg>Fixed events array, see https://github.com/phetsims/scenery/issues/744<commit_after>// Copyright 2016, University of Colorado Boulder

/**
 * IO type for DragListener.
 *
 * @author <NAME> <<EMAIL>>
 */
define( function( require ) {
  'use strict';

  // modules
  var scenery = require( 'SCENERY/scenery' );
  var PressListenerIO = require( 'SCENERY/listeners/PressListenerIO' );

  // phet-io modules
  var assertInstanceOf = require( 'ifphetio!PHET_IO/assertInstanceOf' );
  var phetioInherit = require( 'ifphetio!PHET_IO/phetioInherit' );

  /**
   * @param {DragListener} dragListener
   * @param {string} phetioID
   * @constructor
   */
  function DragListenerIO( dragListener, phetioID ) {
    assert && assertInstanceOf( dragListener, phet.scenery.DragListener );
    PressListenerIO.call( this, dragListener, phetioID );
  }

  phetioInherit( PressListenerIO, 'DragListenerIO', DragListenerIO, {}, {
    documentation: 'Input listener for something that can be dragged.',
    events: [ 'press', 'drag', 'release' ]
  } );

  scenery.register( 'DragListenerIO', DragListenerIO );

{'fraction_non_alphanumeric': 0.12980318650421743, 'fraction_numerical': 0.005154639175257732, 'mean_word_length': 4.2073170731707314, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, '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': '6176454', 'n_tokens_mistral': 718, 'n_tokens_neox': 690, 'n_words': 157}