| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 4 | 0.966 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 1963 | Closure/closure/goog/dom/dom.js |
| 2 | 11 | 1981 | Closure/closure/goog/dom/dom.js |
| ||||
/**
* Returns true if the browser is in "CSS1-compatible" (standards-compliant)
* mode, false otherwise.
* @return {boolean} True if in CSS1-compatible mode.
*/
goog.dom.DomHelper.prototype.isCss1CompatMode= function ( )
{
return goog.dom.isCss1CompatMode_(this.document_);
} ;
/**
* Gets the window object associated with the document.
* @return {!Window} The window associated with the given document.
*/
goog.dom.DomHelper.prototype.getWindow= function ( )
{
return goog.dom.getWindow_(this.document_);
} ;
|
| ||||
/**
* Gets the document scroll element.
* @return {Element} Scrolling element.
*/
goog.dom.DomHelper.prototype.getDocumentScrollElement= function ( )
{
return goog.dom.getDocumentScrollElement_(this.document_);
} ;
/**
* Gets the document scroll distance as a coordinate object.
* @return {!goog.math.Coordinate} Object with properties 'x' and 'y'.
*/
goog.dom.DomHelper.prototype.getDocumentScroll= function ( )
{
return goog.dom.getDocumentScroll_(this.document_);
} ;
|
| |||
/**
* Returns true if the browser is in "CSS1-compatible" (standards-compliant)
* mode, false otherwise.
* @return {boolean} True if in CSS1-compatible mode.
*/
/**
* Gets the document scroll element.
* @return {Element} Scrolling element.
*/
goog.dom.DomHelper.prototype. [[#variable21018080]]= function ( )
{ return goog.dom. [[#variable3fb07940]](this.document_);
} ;
/**
* Gets the window object associated with the document.
* @return {!Window} The window associated with the given document.
*/
/**
* Gets the document scroll distance as a coordinate object.
* @return {!goog.math.Coordinate} Object with properties 'x' and 'y'.
*/
goog.dom.DomHelper.prototype. [[#variable21018040]]= function ( )
{ return goog.dom. [[#variable6237df60]](this.document_);
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#21018080]] | isCss1CompatMode |
| 1 | 2 | [[#21018080]] | getDocumentScrollElement |
| 2 | 1 | [[#3fb07940]] | isCss1CompatMode_ |
| 2 | 2 | [[#3fb07940]] | getDocumentScrollElement_ |
| 3 | 1 | [[#21018040]] | getWindow |
| 3 | 2 | [[#21018040]] | getDocumentScroll |
| 4 | 1 | [[#6237df60]] | getWindow_ |
| 4 | 2 | [[#6237df60]] | getDocumentScroll_ |