CloneSet1676


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.986ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13185
Closure/closure/goog/ui/buttonrenderer.js
23160
Closure/closure/goog/ui/tabrenderer.js
Clone Instance
1
Line Count
3
Source Line
185
Source File
Closure/closure/goog/ui/buttonrenderer.js

/**
 * Takes a button's root element and a tooltip string, and updates the element
 * with the new tooltip.
 * @param {Element} element The button's root element.
 * @param {string} tooltip New tooltip text.
 * @protected
 */
goog.ui.ButtonRenderer.prototype.setTooltip=  function (element, tooltip){
  if (element) {
    element.title=  tooltip
                    ||         '';
               }
                                                                         } ;


Clone Instance
2
Line Count
3
Source Line
160
Source File
Closure/closure/goog/ui/tabrenderer.js

/**
 * Takes a tab's root element and a tooltip string, and updates the element
 * with the new tooltip.  If the new tooltip is null or undefined, sets the
 * element's title to the empty string.
 * @param {Element} element The tab's root element.
 * @param {string|null|undefined} tooltip New tooltip text (if any).
 */
goog.ui.TabRenderer.prototype.setTooltip=  function (element, tooltip){
  if (element) {
    element.title=  tooltip
                    ||         '';
               }
                                                                      } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Takes a button's root element and a tooltip string, and updates the element
 * with the new tooltip.
 * @param {Element} element The button's root element.
 * @param {string} tooltip New tooltip text.
 * @protected
 */
/**
 * Takes a tab's root element and a tooltip string, and updates the element
 * with the new tooltip.  If the new tooltip is null or undefined, sets the
 * element's title to the empty string.
 * @param {Element} element The tab's root element.
 * @param {string|null|undefined} tooltip New tooltip text (if any).
 */
goog.ui. [[#variable468388c0]].prototype.setTooltip= function (element,tooltip)
                                                     { if (element)
                                                         { element.title=tooltip
                                                                         || '';
                                                         }
                                                     } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#468388c0]]
ButtonRenderer 
12[[#468388c0]]
TabRenderer