Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 0 | 1.000 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 1413 | Closure/closure/goog/editor/plugins/basictextformatter.js |
2 | 2 | 1422 | Closure/closure/goog/editor/plugins/basictextformatter.js |
| ||||
// Add a new div at the end of the field. // Safari knows that it would be wrong to apply text-align to the // contentEditable element if there are non-empty block nodes in the field, // because then it would align them too. So in this case, it will // enclose the current selection in a block node. div= this.getFieldDomHelper( ).createDom( 'div', { 'style': 'height: 0' } ,'x'); |
| ||||
div= this.getFieldDomHelper( ).createDom( 'div', { 'style': 'height: 0' } ,'x'); |
| |||
// Add a new div at the end of the field. // Safari knows that it would be wrong to apply text-align to the // contentEditable element if there are non-empty block nodes in the field, // because then it would align them too. So in this case, it will // enclose the current selection in a block node. div=this.getFieldDomHelper( ).createDom('div', { 'style': 'height: 0' } ,'x'); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |