| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 2 | 0.971 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 598 | Closure/closure/goog/history/history.js |
| 2 | 2 | 610 | 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);
} ;
|
| ||||
/**
* 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);
} ;
|
| |||
/**
* 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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#205cf8e0]] | replaceToken |
| 1 | 2 | [[#205cf8e0]] | setToken |
| 2 | 1 | [[#205cf840]] | true |
| 2 | 2 | [[#205cf840]] | false |