CloneSet644


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.980SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110281
Closure/closure/goog/dom/multirange.js
213295
Closure/closure/goog/dom/multirange.js
Clone Instance
1
Line Count
10
Source Line
281
Source File
Closure/closure/goog/dom/multirange.js

/** @inheritDoc */
goog.dom.MultiRange.prototype.getText=  function ( )
                                                   {
  return goog.array.map(this.getTextRanges( ), function (range){
     return range.getText( );
                                                               } ).join('');
                                                   } ;

/** @inheritDoc */
goog.dom.MultiRange.prototype.getHtmlFragment=  function ( )
                                                           {
  return this.getValidHtml( );
                                                           } ;


Clone Instance
2
Line Count
13
Source Line
295
Source File
Closure/closure/goog/dom/multirange.js

/** @inheritDoc */
goog.dom.MultiRange.prototype.getValidHtml=  function ( )
                                                        {
  // NOTE: This does not behave well if the sub-ranges overlap.
  return goog.array.map(this.getTextRanges( ), function (range){
     return range.getValidHtml( );
                                                               } ).join('');
                                                        } ;

/** @inheritDoc */
goog.dom.MultiRange.prototype.getPastableHtml=  function ( )
                                                           {
  // TODO: This should probably do something smart like group TR and TD
  // selections in to the same table.
  return this.getValidHtml( );
                                                           } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/** @inheritDoc */
goog.dom.MultiRange.prototype. [[#variable20aa82c0]]= function ( )
                                                      {
                                                        // NOTE: This does not behave well if the sub-ranges overlap.
                                                        return goog.array.map(this.getTextRanges( ), function (range)
                                                                                                     { return range. [[#variable20aa82c0]]( );
                                                                                                     } ).join('');
                                                      } ;
/** @inheritDoc */
goog.dom.MultiRange.prototype. [[#variable20aa82e0]]= function ( )
                                                      {
                                                        // TODO: This should probably do something smart like group TR and TD
                                                        // selections in to the same table.
                                                        return this.getValidHtml( );
                                                      } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20aa82c0]]
getText 
12[[#20aa82c0]]
getValidHtml 
21[[#20aa82e0]]
getHtmlFragment 
22[[#20aa82e0]]
getPastableHtml