CloneSet499


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.963ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17228
Closure/closure/goog/testing/events/events.js
27263
Closure/closure/goog/testing/events/events.js
Clone Instance
1
Line Count
7
Source Line
228
Source File
Closure/closure/goog/testing/events/events.js

/**
 * Simulates a mouseover event on the given target.
 * @param {EventTarget} target The target for the event.
 * @param {EventTarget} relatedTarget The related target for the event (e.g.,
 *     the node that the mouse is being moved out of).
 * @param {goog.math.Coordinate=} opt_coords Mouse position. Defaults to (0, 0).
 * @return {boolean} The returnValue of the event: false if preventDefault() was
 *     called on it, true otherwise.
 */
goog.testing.events.fireMouseOverEvent=  function (target, relatedTarget,
     opt_coords){
  var mouseover=
      new goog.testing.events.Event(goog.events.EventType.MOUSEOVER, target);
  mouseover.relatedTarget=  relatedTarget;
  goog.testing.events.setEventClientXY_(mouseover, opt_coords);
  return goog.testing.events.fireBrowserEvent(mouseover);
                } ;


Clone Instance
2
Line Count
7
Source Line
263
Source File
Closure/closure/goog/testing/events/events.js

/**
 * Simulates a mouseout event on the given target.
 * @param {EventTarget} target The target for the event.
 * @param {EventTarget} relatedTarget The related target for the event (e.g.,
 *     the node that the mouse is being moved into).
 * @param {goog.math.Coordinate=} opt_coords Mouse position. Defaults to (0, 0).
 * @return {boolean} The returnValue of the event: false if preventDefault() was
 *     called on it, true otherwise.
 */
goog.testing.events.fireMouseOutEvent=  function (target, relatedTarget,
     opt_coords){
  var mouseout=
      new goog.testing.events.Event(goog.events.EventType.MOUSEOUT, target);
  mouseout.relatedTarget=  relatedTarget;
  goog.testing.events.setEventClientXY_(mouseout, opt_coords);
  return goog.testing.events.fireBrowserEvent(mouseout);
                } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Simulates a mouseout event on the given target.
 * @param {EventTarget} target The target for the event.
 * @param {EventTarget} relatedTarget The related target for the event (e.g.,
 *     the node that the mouse is being moved into).
 * @param {goog.math.Coordinate=} opt_coords Mouse position. Defaults to (0, 0).
 * @return {boolean} The returnValue of the event: false if preventDefault() was
 *     called on it, true otherwise.
 */
/**
 * Simulates a mouseover event on the given target.
 * @param {EventTarget} target The target for the event.
 * @param {EventTarget} relatedTarget The related target for the event (e.g.,
 *     the node that the mouse is being moved out of).
 * @param {goog.math.Coordinate=} opt_coords Mouse position. Defaults to (0, 0).
 * @return {boolean} The returnValue of the event: false if preventDefault() was
 *     called on it, true otherwise.
 */
goog.testing.events. [[#variable62ebbf00]]= function (target,relatedTarget,opt_coords)
                                            { var [[#variable3d9126e0]]=new goog.testing.events.Event(goog.events.EventType. [[#variable3d912740]],target);
                                               [[#variable3d9126e0]].relatedTarget=relatedTarget;
                                              goog.testing.events.setEventClientXY_( [[#variable3d9126e0]],opt_coords);
                                              return goog.testing.events.fireBrowserEvent( [[#variable3d9126e0]]);
                                            } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62ebbf00]]
fireMouseOutEvent 
12[[#62ebbf00]]
fireMouseOverEvent 
21[[#3d9126e0]]
mouseout 
22[[#3d9126e0]]
mouseover 
31[[#3d912740]]
MOUSEOUT 
32[[#3d912740]]
MOUSEOVER