| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 2 | 0.975 | StatementList[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 400 | Closure/closure/goog/ui/emoji/popupemojipicker.js |
| 2 | 9 | 407 | Closure/closure/goog/ui/popupcolorpicker.js |
| ||||
if (this.popup_.isOrWasRecentlyVisible( )
&& this.toggleMode_
&&this.lastTarget_== e.currentTarget)
{
this.popup_.setVisible( false);
return;
}
this.lastTarget_= /** @type {Element} */
(e.currentTarget);
this.popup_.setPosition(new goog.positioning.AnchoredPosition(
this.lastTarget_, goog.positioning.Corner.BOTTOM_LEFT));
|
| ||||
if (this.popup_.isOrWasRecentlyVisible( )
&& this.toggleMode_
&&this.lastTarget_== e.currentTarget)
{
this.popup_.setVisible( false);
return;
}
this.lastTarget_= /** @type {Element} */
(e.currentTarget);
this.popup_.setPosition(new goog.positioning.AnchoredPosition(
this.lastTarget_, this.popupCorner_));
|
| |||
if (this.popup_.isOrWasRecentlyVisible( )
&& this.toggleMode_
&& this.lastTarget_==e.currentTarget)
{ this.popup_.setVisible( false);
return;
}
this.lastTarget_= /** @type {Element} */
(e.currentTarget);
this.popup_.setPosition(new goog.positioning.AnchoredPosition(this.lastTarget_, [[#variable3d9129e0]]. [[#variable3ada5c60]]));
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#3d9129e0]] | goog.positioning.Corner |
| 1 | 2 | [[#3d9129e0]] | this |
| 2 | 1 | [[#3ada5c60]] | BOTTOM_LEFT |
| 2 | 2 | [[#3ada5c60]] | popupCorner_ |