CloneSet740


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3320.976ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13166
Closure/closure/goog/module/moduleinfo.js
23181
Closure/closure/goog/module/moduleinfo.js
33196
Closure/closure/goog/module/moduleinfo.js
Clone Instance
1
Line Count
3
Source Line
166
Source File
Closure/closure/goog/module/moduleinfo.js

/**
 * Registers a function that should be called after the module is loaded. These
 * early callbacks are called after {@link Module#initialize} is called but
 * before the other callbacks are called.
 * @param {Function} fn A callback function that takes a single argument which
 *    is the module context.
 * @param {Object=} opt_handler Optional handler under whose scope to execute
 *     the callback.
 * @return {goog.module.ModuleLoadCallback} Reference to the callback
 *     object.
 */
goog.module.ModuleInfo.prototype.registerEarlyCallback=  function (
    fn, opt_handler) {
  return this.registerCallback_(this.earlyOnloadCallbacks_, fn, opt_handler);
                     } ;


Clone Instance
2
Line Count
3
Source Line
181
Source File
Closure/closure/goog/module/moduleinfo.js

/**
 * Registers a function that should be called after the module is loaded.
 * @param {Function} fn A callback function that takes a single argument which
 *    is the module context.
 * @param {Object=} opt_handler Optional handler under whose scope to execute
 *     the callback.
 * @return {goog.module.ModuleLoadCallback} Reference to the callback
 *     object.
 */
goog.module.ModuleInfo.prototype.registerCallback=  function (
    fn, opt_handler) {
  return this.registerCallback_(this.onloadCallbacks_, fn, opt_handler);
                     } ;


Clone Instance
3
Line Count
3
Source Line
196
Source File
Closure/closure/goog/module/moduleinfo.js

/**
 * Registers a function that should be called if the module load fails.
 * @param {Function} fn A callback function that takes a single argument which
 *    is the failure type.
 * @param {Object=} opt_handler Optional handler under whose scope to execute
 *     the callback.
 * @return {goog.module.ModuleLoadCallback} Reference to the callback
 *     object.
 */
goog.module.ModuleInfo.prototype.registerErrback=  function (
    fn, opt_handler) {
  return this.registerCallback_(this.onErrorCallbacks_, fn, opt_handler);
                     } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Registers a function that should be called if the module load fails.
 * @param {Function} fn A callback function that takes a single argument which
 *    is the failure type.
 * @param {Object=} opt_handler Optional handler under whose scope to execute
 *     the callback.
 * @return {goog.module.ModuleLoadCallback} Reference to the callback
 *     object.
 */
/**
 * Registers a function that should be called after the module is loaded.
 * @param {Function} fn A callback function that takes a single argument which
 *    is the module context.
 * @param {Object=} opt_handler Optional handler under whose scope to execute
 *     the callback.
 * @return {goog.module.ModuleLoadCallback} Reference to the callback
 *     object.
 */
/**
 * Registers a function that should be called after the module is loaded. These
 * early callbacks are called after {@link Module#initialize} is called but
 * before the other callbacks are called.
 * @param {Function} fn A callback function that takes a single argument which
 *    is the module context.
 * @param {Object=} opt_handler Optional handler under whose scope to execute
 *     the callback.
 * @return {goog.module.ModuleLoadCallback} Reference to the callback
 *     object.
 */
goog.module.ModuleInfo.prototype. [[#variable63039e60]]= function (fn,opt_handler)
                                                         { return this.registerCallback_(this. [[#variable63039da0]],fn,opt_handler);
                                                         } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63039e60]]
registerErrback 
12[[#63039e60]]
registerCallback 
13[[#63039e60]]
registerEarlyCallback 
21[[#63039da0]]
onErrorCallbacks_ 
22[[#63039da0]]
onloadCallbacks_ 
23[[#63039da0]]
earlyOnloadCallbacks_