CloneSet398


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9320.968SourceElements[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1959
Closure/closure/goog/editor/plugins/basictextformatter.js
2961
Closure/closure/goog/editor/plugins/enterhandler.js
3943
Closure/closure/goog/editor/plugins/headerformatter.js
Clone Instance
1
Line Count
9
Source Line
59
Source File
Closure/closure/goog/editor/plugins/basictextformatter.js

/**
 * Functions to style text (e.g. underline, make bold, etc.)
 * @constructor
 * @extends {goog.editor.Plugin}
 */
goog.editor.plugins.BasicTextFormatter=  function ( )
                                                    {
  goog.editor.Plugin.call(this );
                                                    } ;
goog.inherits(goog.editor.plugins.BasicTextFormatter, goog.editor.Plugin);

/** @inheritDoc */
goog.editor.plugins.BasicTextFormatter.prototype.getTrogClassId=  function ( )
                                                                             {
  return 'BTF';
                                                                             } ;


Clone Instance
2
Line Count
9
Source Line
61
Source File
Closure/closure/goog/editor/plugins/enterhandler.js

/**
 * Plugin to handle enter keys. This does all the crazy to normalize (as much as
 * is reasonable) what happens when you hit enter. This also handles the
 * special casing of hitting enter in a blockquote.
 *
 * In IE and Safari, the resulting HTML uses one DIV tag per line.  In FireFox,
 * the resulting HTML uses BR tags at the end of each line.
 *
 * @constructor
 * @extends {goog.editor.Plugin}
 */
goog.editor.plugins.EnterHandler=  function ( )
                                              {
  goog.editor.Plugin.call(this );
                                              } ;
goog.inherits(goog.editor.plugins.EnterHandler, goog.editor.Plugin);

/** @inheritDoc */
goog.editor.plugins.EnterHandler.prototype.getTrogClassId=  function ( )
                                                                       {
  return 'EnterHandler';
                                                                       } ;


Clone Instance
3
Line Count
9
Source Line
43
Source File
Closure/closure/goog/editor/plugins/headerformatter.js

/**
 * Applies header styles to text.
 * @constructor
 * @extends {goog.editor.Plugin}
 */
goog.editor.plugins.HeaderFormatter=  function ( )
                                                 {
  goog.editor.Plugin.call(this );
                                                 } ;
goog.inherits(goog.editor.plugins.HeaderFormatter, goog.editor.Plugin);

/** @inheritDoc */
goog.editor.plugins.HeaderFormatter.prototype.getTrogClassId=  function ( )
                                                                          {
  return 'HeaderFormatter';
                                                                          } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Applies header styles to text.
 * @constructor
 * @extends {goog.editor.Plugin}
 */
/**
 * Plugin to handle enter keys. This does all the crazy to normalize (as much as
 * is reasonable) what happens when you hit enter. This also handles the
 * special casing of hitting enter in a blockquote.
 *
 * In IE and Safari, the resulting HTML uses one DIV tag per line.  In FireFox,
 * the resulting HTML uses BR tags at the end of each line.
 *
 * @constructor
 * @extends {goog.editor.Plugin}
 */
/**
 * Functions to style text (e.g. underline, make bold, etc.)
 * @constructor
 * @extends {goog.editor.Plugin}
 */
goog.editor.plugins. [[#variable2120b5a0]]= function ( )
                                            { goog.editor.Plugin.call(this );
                                            } ;
goog.inherits(goog.editor.plugins. [[#variable2120b5a0]],goog.editor.Plugin);
/** @inheritDoc */
goog.editor.plugins. [[#variable2120b5a0]].prototype.getTrogClassId= function ( )
                                                                     { return [[#variable2120b500]];
                                                                     } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2120b5a0]]
HeaderFormatter 
12[[#2120b5a0]]
EnterHandler 
13[[#2120b5a0]]
BasicTextFormatter 
21[[#2120b500]]
'HeaderFormatter' 
22[[#2120b500]]
'EnterHandler' 
23[[#2120b500]]
'BTF'