CloneSet1726


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.971ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12598
Closure/closure/goog/history/history.js
22610
Closure/closure/goog/history/history.js
Clone Instance
1
Line Count
2
Source Line
598
Source File
Closure/closure/goog/history/history.js

/**
 * Sets the history state. When user visible states are used, the URL fragment
 * will be set to the provided token.  Sometimes it is necessary to set the
 * history token before the document title has changed, in this case IE's
 * history drop down can be out of sync with the token.  To get around this
 * problem, the app can pass in a title to use with the hidden iframe.
 * @param {string} token The history state identifier.
 * @param {string=} opt_title Optional title used when setting the hidden iframe
 *     title in IE.
 */
goog.History.prototype.setToken=  function (token, opt_title){
  this.setHistoryState_(token, false ,opt_title);
                                                             } ;


Clone Instance
2
Line Count
2
Source Line
610
Source File
Closure/closure/goog/history/history.js

/**
 * Replaces the current history state without affecting the rest of the history
 * stack.
 * @param {string} token The history state identifier.
 * @param {string=} opt_title Optional title used when setting the hidden iframe
 *     title in IE.
 */
goog.History.prototype.replaceToken=  function (token, opt_title){
  this.setHistoryState_(token, true ,opt_title);
                                                                 } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Replaces the current history state without affecting the rest of the history
 * stack.
 * @param {string} token The history state identifier.
 * @param {string=} opt_title Optional title used when setting the hidden iframe
 *     title in IE.
 */
/**
 * Sets the history state. When user visible states are used, the URL fragment
 * will be set to the provided token.  Sometimes it is necessary to set the
 * history token before the document title has changed, in this case IE's
 * history drop down can be out of sync with the token.  To get around this
 * problem, the app can pass in a title to use with the hidden iframe.
 * @param {string} token The history state identifier.
 * @param {string=} opt_title Optional title used when setting the hidden iframe
 *     title in IE.
 */
goog.History.prototype. [[#variable205cf8e0]]= function (token,opt_title)
                                               { this.setHistoryState_(token, [[#variable205cf840]],opt_title);
                                               } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#205cf8e0]]
replaceToken 
12[[#205cf8e0]]
setToken 
21[[#205cf840]]
true 
22[[#205cf840]]
false