CloneSet1639


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.960ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13886
Closure/closure/goog/dom/dom.js
23899
Closure/closure/goog/dom/dom.js
Clone Instance
1
Line Count
3
Source Line
886
Source File
Closure/closure/goog/dom/dom.js

/**
 * Inserts a new node before an existing reference node (i.e. as the previous
 * sibling). If the reference node has no parent, then does nothing.
 * @param {Node} newNode Node to insert.
 * @param {Node} refNode Reference node to insert before.
 */
goog.dom.insertSiblingBefore=  function (newNode, refNode){
  if (refNode.parentNode) {
    refNode.parentNode.insertBefore(newNode, refNode);
                          }
                                                          } ;


Clone Instance
2
Line Count
3
Source Line
899
Source File
Closure/closure/goog/dom/dom.js

/**
 * Inserts a new node after an existing reference node (i.e. as the next
 * sibling). If the reference node has no parent, then does nothing.
 * @param {Node} newNode Node to insert.
 * @param {Node} refNode Reference node to insert after.
 */
goog.dom.insertSiblingAfter=  function (newNode, refNode){
  if (refNode.parentNode) {
    refNode.parentNode.insertBefore(newNode, refNode.nextSibling);
                          }
                                                         } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Inserts a new node after an existing reference node (i.e. as the next
 * sibling). If the reference node has no parent, then does nothing.
 * @param {Node} newNode Node to insert.
 * @param {Node} refNode Reference node to insert after.
 */
/**
 * Inserts a new node before an existing reference node (i.e. as the previous
 * sibling). If the reference node has no parent, then does nothing.
 * @param {Node} newNode Node to insert.
 * @param {Node} refNode Reference node to insert before.
 */
goog.dom. [[#variable20d7a8e0]]= function (newNode,refNode)
                                 { if (refNode.parentNode)
                                     { refNode.parentNode.insertBefore(newNode, [[#variable20d7a880]]);
                                     }
                                 } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20d7a8e0]]
insertSiblingAfter 
12[[#20d7a8e0]]
insertSiblingBefore 
21[[#20d7a880]]
refNode.nextSibling 
22[[#20d7a880]]
refNode