| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 1 | 0.987 | StatementList[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 343 | Closure/closure/goog/events/events.js |
| 2 | 5 | 955 | Closure/closure/goog/events/events.js |
| ||||
// Do not use key in listeners here since that will cast the number to a
// string which will allocate one string object.
if (!goog.events.listeners_[key]) {
return false;
}
var listener= goog.events.listeners_[key];
|
| ||||
// If the listener isn't there it was probably removed when processing
// another listener on the same event (e.g. the later listener is
// not managed by closure so that they are both fired under IE)
if (!goog.events.listeners_[key]) {
return true;
}
var listener= goog.events.listeners_[key];
|
| |||
// Do not use key in listeners here since that will cast the number to a
// string which will allocate one string object.
// If the listener isn't there it was probably removed when processing
// another listener on the same event (e.g. the later listener is
// not managed by closure so that they are both fired under IE)
if (!goog.events.listeners_[key])
{ return [[#variable1ec3c060]];
}
var listener=goog.events.listeners_[key];
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1ec3c060]] | false |
| 1 | 2 | [[#1ec3c060]] | true |