CloneSet1156


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.981ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15442
Closure/closure/goog/net/xhrmanager.js
25458
Closure/closure/goog/net/xhrmanager.js
Clone Instance
1
Line Count
5
Source Line
442
Source File
Closure/closure/goog/net/xhrmanager.js

/**
 * Remove listeners for XHR events on an XhrIo object.
 * @param {goog.net.XhrIo} xhrIo The object to stop listenening to events on.
 * @param {Function} func The callback to remove from event handling.
 * @param {string|Array.<string>=} opt_types Event types to remove listeners
 *     for. Defaults to XHR_EVENT_TYPES_.
 * @private
 */
goog.net.XhrManager.prototype.removeXhrListener_=  function (xhrIo,
                                                             func,
                                                             opt_types){
   var types=  opt_types
               ||           goog.net.XhrManager.XHR_EVENT_TYPES_;
   this.eventHandler_.unlisten(xhrIo, types, func);
                                                                       } ;


Clone Instance
2
Line Count
5
Source Line
458
Source File
Closure/closure/goog/net/xhrmanager.js

/**
 * Adds a listener for XHR events on an XhrIo object.
 * @param {goog.net.XhrIo} xhrIo The object listen to events on.
 * @param {Function} func The callback when the event occurs.
 * @param {string|Array.<string>=} opt_types Event types to attach listeners to.
 *     Defaults to XHR_EVENT_TYPES_.
 * @private
 */
goog.net.XhrManager.prototype.addXhrListener_=  function (xhrIo,
                                                          func,
                                                          opt_types){
   var types=  opt_types
               ||           goog.net.XhrManager.XHR_EVENT_TYPES_;
   this.eventHandler_.listen(xhrIo, types, func);
                                                                    } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Adds a listener for XHR events on an XhrIo object.
 * @param {goog.net.XhrIo} xhrIo The object listen to events on.
 * @param {Function} func The callback when the event occurs.
 * @param {string|Array.<string>=} opt_types Event types to attach listeners to.
 *     Defaults to XHR_EVENT_TYPES_.
 * @private
 */
/**
 * Remove listeners for XHR events on an XhrIo object.
 * @param {goog.net.XhrIo} xhrIo The object to stop listenening to events on.
 * @param {Function} func The callback to remove from event handling.
 * @param {string|Array.<string>=} opt_types Event types to remove listeners
 *     for. Defaults to XHR_EVENT_TYPES_.
 * @private
 */
goog.net.XhrManager.prototype. [[#variable62bb13c0]]= function (xhrIo,func,opt_types)
                                                      { var types=opt_types
                                                                  || goog.net.XhrManager.XHR_EVENT_TYPES_;
                                                        this.eventHandler_. [[#variable62bb1360]](xhrIo,types,func);
                                                      } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62bb13c0]]
addXhrListener_ 
12[[#62bb13c0]]
removeXhrListener_ 
21[[#62bb1360]]
listen 
22[[#62bb1360]]
unlisten