Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.962 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 61 | Closure/closure/goog/style/cursor.js |
2 | 7 | 81 | Closure/closure/goog/style/cursor.js |
| ||||
/** * Create the style for the draggable cursor based on browser and OS. * The value can be extended to be '!important' if needed. * * @param {string} absoluteDotCurFilePath The absolute base path of * 'openhand.cur' file to be used if the browser supports it. * @param {boolean=} opt_important Whether to use the '!important' CSS * modifier. * @return {string} The "draggable" mouse cursor style value. */ goog.style.cursor.getDraggableCursorStyle= function ( absoluteDotCurFilePath, opt_important) { return goog.style.cursor.getCursorStyle_( '-moz-grab', absoluteDotCurFilePath+ goog.style.cursor.OPENHAND_FILE, 'default', opt_important); } ; |
| ||||
/** * Create the style for the dragging cursor based on browser and OS. * The value can be extended to be '!important' if needed. * * @param {string} absoluteDotCurFilePath The absolute base path of * 'closedhand.cur' file to be used if the browser supports it. * @param {boolean=} opt_important Whether to use the '!important' CSS * modifier. * @return {string} The "dragging" mouse cursor style value. */ goog.style.cursor.getDraggingCursorStyle= function ( absoluteDotCurFilePath, opt_important) { return goog.style.cursor.getCursorStyle_( '-moz-grabbing', absoluteDotCurFilePath+ goog.style.cursor.CLOSEDHAND_FILE, 'move', opt_important); } ; |
| |||
/** * Create the style for the dragging cursor based on browser and OS. * The value can be extended to be '!important' if needed. * * @param {string} absoluteDotCurFilePath The absolute base path of * 'closedhand.cur' file to be used if the browser supports it. * @param {boolean=} opt_important Whether to use the '!important' CSS * modifier. * @return {string} The "dragging" mouse cursor style value. */ /** * Create the style for the draggable cursor based on browser and OS. * The value can be extended to be '!important' if needed. * * @param {string} absoluteDotCurFilePath The absolute base path of * 'openhand.cur' file to be used if the browser supports it. * @param {boolean=} opt_important Whether to use the '!important' CSS * modifier. * @return {string} The "draggable" mouse cursor style value. */ goog.style.cursor. [[#variable3eab2900]]= function (absoluteDotCurFilePath,opt_important) { return goog.style.cursor.getCursorStyle_( [[#variable3eab28a0]],absoluteDotCurFilePath+goog.style.cursor. [[#variable3eab27e0]], [[#variable3eab2760]],opt_important); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3eab2900]] | getDraggingCursorStyle |
1 | 2 | [[#3eab2900]] | getDraggableCursorStyle |
2 | 1 | [[#3eab28a0]] | '-moz-grabbing' |
2 | 2 | [[#3eab28a0]] | '-moz-grab' |
3 | 1 | [[#3eab27e0]] | CLOSEDHAND_FILE |
3 | 2 | [[#3eab27e0]] | OPENHAND_FILE |
4 | 1 | [[#3eab2760]] | 'move' |
4 | 2 | [[#3eab2760]] | 'default' |